diff options
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r-- | include/clang/Parse/Action.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 548ff1a7d7..960e4154fe 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -448,13 +448,20 @@ public: DeclTy **allMethods, unsigned allNum) { return; } - virtual DeclTy *ObjcBuildMethodDeclaration( + virtual DeclTy *ObjcStartProtoInterface(SourceLocation AtProtoInterfaceLoc, + IdentifierInfo *ProtocolName, SourceLocation ProtocolLoc, + IdentifierInfo **ProtoRefNames, unsigned NumProtoRefs) { + return 0; + } + virtual DeclTy *ObjcBuildMethodDeclaration(DeclTy *IDecl, + tok::ObjCKeywordKind& pi, SourceLocation MethodLoc, tok::TokenKind MethodType, TypeTy *ReturnType, ObjcKeywordDecl *Keywords, unsigned NumKeywords, AttributeList *AttrList) { return 0; } - virtual DeclTy *ObjcBuildMethodDeclaration( + virtual DeclTy *ObjcBuildMethodDeclaration(DeclTy *IDecl, + tok::ObjCKeywordKind& pi, SourceLocation MethodLoc, tok::TokenKind MethodType, TypeTy *ReturnType, IdentifierInfo *SelectorName, AttributeList *AttrList) { return 0; @@ -534,6 +541,10 @@ public: IdentifierInfo *SuperName, SourceLocation SuperLoc, IdentifierInfo **ProtocolNames, unsigned NumProtocols, AttributeList *AttrList); + virtual DeclTy *ObjcStartProtoInterface(SourceLocation AtProtoInterfaceLoc, + IdentifierInfo *ProtocolName, SourceLocation ProtocolLoc, + IdentifierInfo **ProtoRefNames, unsigned NumProtoRefs); + }; } // end namespace clang |