diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 63af44f9cb..600582c96e 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/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); |