diff options
-rw-r--r-- | include/clang/AST/DeclBase.h | 2 | ||||
-rw-r--r-- | include/clang/Parse/Action.h | 2 | ||||
-rw-r--r-- | lib/AST/CFG.cpp | 2 | ||||
-rw-r--r-- | lib/Parse/MinimalAction.cpp | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 1560aa585d..ef92b42424 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -37,7 +37,7 @@ public: // This lists the concrete classes of Decl in order of the inheritance // hierarchy. This allows us to do efficient classof tests based on the // enums below. The commented out names are abstract class names. - // [DeclContext] indicatea that the class also inherits from DeclContext. + // [DeclContext] indicates that the class also inherits from DeclContext. // Decl TranslationUnit, // [DeclContext] diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index b329306518..2b6f713441 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -118,7 +118,7 @@ public: } /// AddInitializerToDecl - This action is called immediately after - /// ParseDeclarator (when an initializer is present). The code is factored + /// ActOnDeclarator (when an initializer is present). The code is factored /// this way to make sure we are able to handle the following: /// void func() { int xx = xx; } /// This allows ActOnDeclarator to register "xx" prior to parsing the diff --git a/lib/AST/CFG.cpp b/lib/AST/CFG.cpp index ba6a6c8552..9f87dc6adf 100644 --- a/lib/AST/CFG.cpp +++ b/lib/AST/CFG.cpp @@ -42,7 +42,7 @@ struct VISIBILITY_HIDDEN SaveAndRestore { T old_value; }; -/// CFGBuilder - This class is implements CFG construction from an AST. +/// CFGBuilder - This class implements CFG construction from an AST. /// The builder is stateful: an instance of the builder should be used to only /// construct a single CFG. /// diff --git a/lib/Parse/MinimalAction.cpp b/lib/Parse/MinimalAction.cpp index d895ccf22a..cb130c3d26 100644 --- a/lib/Parse/MinimalAction.cpp +++ b/lib/Parse/MinimalAction.cpp @@ -74,7 +74,7 @@ MinimalAction::ActOnDeclarator(Scope *S, Declarator &D, DeclTy *LastInGroup) { D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef; // this check avoids creating TypeNameInfo objects for the common case. - // It does need to handle the uncommon case of shadowing a typedef name with a + // It does need to handle the uncommon case of shadowing a typedef name with a // non-typedef name. e.g. { typedef int a; a xx; { int a; } } if (weCurrentlyHaveTypeInfo || isTypeName) { TypeNameInfo *TI = new TypeNameInfo(isTypeName, weCurrentlyHaveTypeInfo); @@ -121,8 +121,8 @@ MinimalAction::ActOnForwardClassDeclaration(SourceLocation AtClassLoc, return 0; } -/// ActOnPopScope - When a scope is popped, if any typedefs are now out-of-scope, -/// they are removed from the IdentifierInfo::FETokenInfo field. +/// ActOnPopScope - When a scope is popped, if any typedefs are now +/// out-of-scope, they are removed from the IdentifierInfo::FETokenInfo field. void MinimalAction::ActOnPopScope(SourceLocation Loc, Scope *S) { for (Scope::decl_iterator I = S->decl_begin(), E = S->decl_end(); I != E; ++I) { |