aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-17 17:15:16 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-17 17:15:16 +0000
commit1ac7104947020a60430ba6f519cd5869af77046f (patch)
tree53cb54bb2a541af5cc38ca2fdee35d80ae76cf08 /lib
parent58beed91d468863b8c85bce43425422703838d27 (diff)
Fixes a typo, reported by Doug.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Parse/ParseObjc.cpp2
-rw-r--r--lib/Sema/ParseAST.cpp2
2 files changed, 2 insertions, 2 deletions
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