@@ -583,7 +583,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
583583 llvm::DenseMap<UsingEnumDecl *, UsingEnumDecl *>
584584 InstantiatedFromUsingEnumDecl;
585585
586- // / Simlarly maps instantiated UsingShadowDecls to their origin.
586+ // / Similarly maps instantiated UsingShadowDecls to their origin.
587587 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
588588 InstantiatedFromUsingShadowDecl;
589589
@@ -791,7 +791,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
791791 }
792792 return new (*this ) DeclListNode (ND);
793793 }
794- // / Deallcates a \c DeclListNode by returning it to the \c ListNodeFreeList
794+ // / Deallocates a \c DeclListNode by returning it to the \c ListNodeFreeList
795795 // / pool.
796796 void DeallocateDeclListNode (DeclListNode *N) {
797797 N->Rest = ListNodeFreeList;
@@ -1124,7 +1124,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
11241124
11251125 // / Clean up the merged definition list. Call this if you might have
11261126 // / added duplicates into the list.
1127- void deduplicateMergedDefinitonsFor (NamedDecl *ND);
1127+ void deduplicateMergedDefinitionsFor (NamedDecl *ND);
11281128
11291129 // / Get the additional modules in which the definition \p Def has
11301130 // / been merged.
@@ -2570,7 +2570,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
25702570 // / Return the ABI-specified natural alignment of a (complete) type \p T,
25712571 // / before alignment adjustments, in bits.
25722572 // /
2573- // / This alignment is curently used only by ARM and AArch64 when passing
2573+ // / This alignment is currently used only by ARM and AArch64 when passing
25742574 // / arguments of a composite type.
25752575 unsigned getTypeUnadjustedAlign (QualType T) const {
25762576 return getTypeUnadjustedAlign (T.getTypePtr ());
@@ -2643,7 +2643,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
26432643 // / considered specifically for the query.
26442644 CharUnits getAlignOfGlobalVarInChars (QualType T, const VarDecl *VD) const ;
26452645
2646- // / Return the minimum alignement as specified by the target. If \p VD is
2646+ // / Return the minimum alignment as specified by the target. If \p VD is
26472647 // / non-null it may be used to identify external or weak variables.
26482648 unsigned getMinGlobalAlignOfVar (uint64_t Size, const VarDecl *VD) const ;
26492649
0 commit comments