@@ -583,7 +583,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
583
583
llvm::DenseMap<UsingEnumDecl *, UsingEnumDecl *>
584
584
InstantiatedFromUsingEnumDecl;
585
585
586
- // / Simlarly maps instantiated UsingShadowDecls to their origin.
586
+ // / Similarly maps instantiated UsingShadowDecls to their origin.
587
587
llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
588
588
InstantiatedFromUsingShadowDecl;
589
589
@@ -791,7 +791,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
791
791
}
792
792
return new (*this ) DeclListNode (ND);
793
793
}
794
- // / Deallcates a \c DeclListNode by returning it to the \c ListNodeFreeList
794
+ // / Deallocates a \c DeclListNode by returning it to the \c ListNodeFreeList
795
795
// / pool.
796
796
void DeallocateDeclListNode (DeclListNode *N) {
797
797
N->Rest = ListNodeFreeList;
@@ -1124,7 +1124,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
1124
1124
1125
1125
// / Clean up the merged definition list. Call this if you might have
1126
1126
// / added duplicates into the list.
1127
- void deduplicateMergedDefinitonsFor (NamedDecl *ND);
1127
+ void deduplicateMergedDefinitionsFor (NamedDecl *ND);
1128
1128
1129
1129
// / Get the additional modules in which the definition \p Def has
1130
1130
// / been merged.
@@ -2570,7 +2570,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
2570
2570
// / Return the ABI-specified natural alignment of a (complete) type \p T,
2571
2571
// / before alignment adjustments, in bits.
2572
2572
// /
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
2574
2574
// / arguments of a composite type.
2575
2575
unsigned getTypeUnadjustedAlign (QualType T) const {
2576
2576
return getTypeUnadjustedAlign (T.getTypePtr ());
@@ -2643,7 +2643,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
2643
2643
// / considered specifically for the query.
2644
2644
CharUnits getAlignOfGlobalVarInChars (QualType T, const VarDecl *VD) const ;
2645
2645
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
2647
2647
// / non-null it may be used to identify external or weak variables.
2648
2648
unsigned getMinGlobalAlignOfVar (uint64_t Size, const VarDecl *VD) const ;
2649
2649
0 commit comments