forked from OSchip/llvm-project
parent
6aa503900f
commit
bc02a10ef3
|
@ -179,7 +179,7 @@ public:
|
|||
/// the EOF was encountered.
|
||||
bool ParseTopLevelDecl(DeclGroupPtrTy &Result);
|
||||
|
||||
DeclGroupPtrTy RetreivePendingObjCImpDecl();
|
||||
DeclGroupPtrTy RetrievePendingObjCImpDecl();
|
||||
|
||||
private:
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue