diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-09 20:23:04 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-12-09 20:23:04 +0000 |
commit | 3d8552a75d03dd1981939134a17b3918c28dc762 (patch) | |
tree | a9cd77fc44db325c0ee435c5dda28bc445ffe7b7 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | c13f26873fbda0ff998d89e564233987b6068b35 (diff) | |
download | bcm5719-llvm-3d8552a75d03dd1981939134a17b3918c28dc762.tar.gz bcm5719-llvm-3d8552a75d03dd1981939134a17b3918c28dc762.zip |
Support for implementation of property in the case where
the synthesis is in an implementation of s subclass of
a super class where the property has been declared.
llvm-svn: 60792
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 63af44f9cb6..600582c96e7 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -45,6 +45,7 @@ namespace clang { class ObjCInterfaceDecl; class ObjCIvarDecl; class ObjCMethodDecl; + class ObjCImplementationDecl; class ObjCPropertyImplDecl; class TargetInfo; class VarDecl; @@ -176,11 +177,13 @@ public: /// GenerateObjCGetter - Synthesize an Objective-C property getter /// function. - void GenerateObjCGetter(const ObjCPropertyImplDecl *PID); + void GenerateObjCGetter(ObjCImplementationDecl *IMP, + const ObjCPropertyImplDecl *PID); /// GenerateObjCSetter - Synthesize an Objective-C property setter /// function for the given property. - void GenerateObjCSetter(const ObjCPropertyImplDecl *PID); + void GenerateObjCSetter(ObjCImplementationDecl *IMP, + const ObjCPropertyImplDecl *PID); void GenerateCode(const FunctionDecl *FD, llvm::Function *Fn); |