Patch to remove ObjcProtoMethodDecl and use ObjcMethodDecl
instead for @protocol method decls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42070 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/Sema.h b/Sema/Sema.h
index b50993e..1b1aa78 100644
--- a/Sema/Sema.h
+++ b/Sema/Sema.h
@@ -368,14 +368,12 @@
virtual void ObjcAddMethodsToClass(DeclTy *ClassDecl,
DeclTy **allMethods, unsigned allNum);
- virtual DeclTy *ObjcBuildMethodDeclaration(DeclTy *InterfaceDecl,
- tok::ObjCKeywordKind& pi,
+ virtual DeclTy *ObjcBuildMethodDeclaration(tok::ObjCKeywordKind& pi,
SourceLocation MethodLoc,
tok::TokenKind MethodType, TypeTy *ReturnType,
ObjcKeywordDecl *Keywords, unsigned NumKeywords,
AttributeList *AttrList);
- virtual DeclTy *ObjcBuildMethodDeclaration(DeclTy *InterfaceDecl,
- tok::ObjCKeywordKind& pi,
+ virtual DeclTy *ObjcBuildMethodDeclaration(tok::ObjCKeywordKind& pi,
SourceLocation MethodLoc,
tok::TokenKind MethodType, TypeTy *ReturnType,
IdentifierInfo *SelectorName, AttributeList *AttrList);