@@ -582,7 +582,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
582582 llvm::DenseMap<UsingEnumDecl *, UsingEnumDecl *>
583583 InstantiatedFromUsingEnumDecl;
584584
585- // / Simlarly maps instantiated UsingShadowDecls to their origin.
585+ // / Similarly maps instantiated UsingShadowDecls to their origin.
586586 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
587587 InstantiatedFromUsingShadowDecl;
588588
@@ -790,7 +790,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
790790 }
791791 return new (*this ) DeclListNode (ND);
792792 }
793- // / Deallcates a \c DeclListNode by returning it to the \c ListNodeFreeList
793+ // / Deallocates a \c DeclListNode by returning it to the \c ListNodeFreeList
794794 // / pool.
795795 void DeallocateDeclListNode (DeclListNode *N) {
796796 N->Rest = ListNodeFreeList;
@@ -1123,7 +1123,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
11231123
11241124 // / Clean up the merged definition list. Call this if you might have
11251125 // / added duplicates into the list.
1126- void deduplicateMergedDefinitonsFor (NamedDecl *ND);
1126+ void deduplicateMergedDefinitionsFor (NamedDecl *ND);
11271127
11281128 // / Get the additional modules in which the definition \p Def has
11291129 // / been merged.
@@ -2565,7 +2565,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
25652565 // / Return the ABI-specified natural alignment of a (complete) type \p T,
25662566 // / before alignment adjustments, in bits.
25672567 // /
2568- // / This alignment is curently used only by ARM and AArch64 when passing
2568+ // / This alignment is currently used only by ARM and AArch64 when passing
25692569 // / arguments of a composite type.
25702570 unsigned getTypeUnadjustedAlign (QualType T) const {
25712571 return getTypeUnadjustedAlign (T.getTypePtr ());
@@ -2638,7 +2638,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
26382638 // / considered specifically for the query.
26392639 CharUnits getAlignOfGlobalVarInChars (QualType T, const VarDecl *VD) const ;
26402640
2641- // / Return the minimum alignement as specified by the target. If \p VD is
2641+ // / Return the minimum alignment as specified by the target. If \p VD is
26422642 // / non-null it may be used to identify external or weak variables.
26432643 unsigned getMinGlobalAlignOfVar (uint64_t Size, const VarDecl *VD) const ;
26442644
0 commit comments