Fixes a typo, reported by Doug.

llvm-svn: 89107
This commit is contained in:
Fariborz Jahanian 2009-11-17 17:15:16 +00:00
parent 6aa503900f
commit bc02a10ef3
3 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ public:
/// the EOF was encountered.
bool ParseTopLevelDecl(DeclGroupPtrTy &Result);
DeclGroupPtrTy RetreivePendingObjCImpDecl();
DeclGroupPtrTy RetrievePendingObjCImpDecl();
private:
//===--------------------------------------------------------------------===//

View File

@ -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();

View File

@ -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