diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2007-09-12 18:23:47 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-09-12 18:23:47 +0000 |
commit | e55cd00d23f0951c29b3b93e6034b2c4b3933a23 (patch) | |
tree | 8bcddb99e5c2558689d04ea613e904ab2139e39f /Sema/Sema.h | |
parent | 34947250cea7fa89cfd882a4c5cb51412faa0fee (diff) |
Patch for building method declaration nodes. Also fixed a segfault in cocoa.m due
to use of @property.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Sema/Sema.h')
-rw-r--r-- | Sema/Sema.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Sema/Sema.h b/Sema/Sema.h index b6fe89a3fa..7a3466f97d 100644 --- a/Sema/Sema.h +++ b/Sema/Sema.h @@ -360,6 +360,13 @@ public: virtual void ObjcAddMethodsToClass(DeclTy *ClassDecl, DeclTy **allMethods, unsigned allNum); + virtual DeclTy *ObjcBuildMethodDeclaration(SourceLocation MethodLoc, + tok::TokenKind MethodType, TypeTy *ReturnType, + ObjcKeywordInfo *Keywords, unsigned NumKeywords, + AttributeList *AttrList); + virtual DeclTy *ObjcBuildMethodDeclaration(SourceLocation MethodLoc, + tok::TokenKind MethodType, TypeTy *ReturnType, + IdentifierInfo *SelectorName, AttributeList *AttrList); virtual void ObjcAddInstanceVariable(DeclTy *ClassDec, DeclTy *Ivar, tok::ObjCKeywordKind visibility); |