diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-17 17:15:16 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-17 17:15:16 +0000 |
commit | 1ac7104947020a60430ba6f519cd5869af77046f (patch) | |
tree | 53cb54bb2a541af5cc38ca2fdee35d80ae76cf08 | |
parent | 58beed91d468863b8c85bce43425422703838d27 (diff) |
Fixes a typo, reported by Doug.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89107 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Parse/Parser.h | 2 | ||||
-rw-r--r-- | lib/Parse/ParseObjc.cpp | 2 | ||||
-rw-r--r-- | lib/Sema/ParseAST.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index f436a75e29..e7dabdbd5b 100644 --- a/include/clang/Parse/Parser.h +++ b/include/clang/Parse/Parser.h @@ -179,7 +179,7 @@ public: /// the EOF was encountered. bool ParseTopLevelDecl(DeclGroupPtrTy &Result); - DeclGroupPtrTy RetreivePendingObjCImpDecl(); + DeclGroupPtrTy RetrievePendingObjCImpDecl(); private: //===--------------------------------------------------------------------===// diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp index 2ae0c690ca..6ca2314ef4 100644 --- a/lib/Parse/ParseObjc.cpp +++ b/lib/Parse/ParseObjc.cpp @@ -1137,7 +1137,7 @@ Parser::DeclPtrTy Parser::ParseObjCAtEndDeclaration(SourceLocation atLoc) { return Result; } -Parser::DeclGroupPtrTy Parser::RetreivePendingObjCImpDecl() { +Parser::DeclGroupPtrTy Parser::RetrievePendingObjCImpDecl() { if (PendingObjCImpDecl.empty()) return Actions.ConvertDeclToDeclGroup(DeclPtrTy()); DeclPtrTy ImpDecl = PendingObjCImpDecl.pop_back_val(); diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp index dc0daae4dc..7b223a8fa3 100644 --- a/lib/Sema/ParseAST.cpp +++ b/lib/Sema/ParseAST.cpp @@ -72,7 +72,7 @@ void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, Consumer->HandleTopLevelDecl(ADecl.getAsVal<DeclGroupRef>()); }; // Check for any pending objective-c implementation decl. - while ((ADecl = P.RetreivePendingObjCImpDecl())) + while ((ADecl = P.RetrievePendingObjCImpDecl())) Consumer->HandleTopLevelDecl(ADecl.getAsVal<DeclGroupRef>()); // process any TopLevelDecls generated by #pragma weak |