diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-08-04 22:51:42 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-08-04 22:51:42 +0000 |
commit | a34ea072371154c9042ce86321d17fbb4df1f84d (patch) | |
tree | 4c57d061807549eefcf20ab75aa3599884d95f4c /lib/Parse/MinimalAction.cpp | |
parent | 1e76ce6e5f892c89c9958657d44c323fb70f748c (diff) |
Nico Weber:
"the attached patch fixes some typos, 80 cols violations, etc. in comments."
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/MinimalAction.cpp')
-rw-r--r-- | lib/Parse/MinimalAction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |