summaryrefslogtreecommitdiffstats
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
commitbc02a10ef335c5a7bddc441f7573016bd39ea499 (patch)
tree56e8e50037e47463593986e07e4e744358f20271
parent6aa503900f17e9266b02ce4092c5df6d859dc4c2 (diff)
downloadbcm5719-llvm-bc02a10ef335c5a7bddc441f7573016bd39ea499.tar.gz
bcm5719-llvm-bc02a10ef335c5a7bddc441f7573016bd39ea499.zip
Fixes a typo, reported by Doug.
llvm-svn: 89107
-rw-r--r--clang/include/clang/Parse/Parser.h2
-rw-r--r--clang/lib/Parse/ParseObjc.cpp2
-rw-r--r--clang/lib/Sema/ParseAST.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h
index f436a75e290..e7dabdbd5b6 100644
--- a/clang/include/clang/Parse/Parser.h
+++ b/clang/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/clang/lib/Parse/ParseObjc.cpp b/clang/lib/Parse/ParseObjc.cpp
index 2ae0c690cad..6ca2314ef4f 100644
--- a/clang/lib/Parse/ParseObjc.cpp
+++ b/clang/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/clang/lib/Sema/ParseAST.cpp b/clang/lib/Sema/ParseAST.cpp
index dc0daae4dcf..7b223a8fa3b 100644
--- a/clang/lib/Sema/ParseAST.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud