diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-01-10 21:06:09 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-01-10 21:06:09 +0000 |
commit | 679a502d462ef819e6175b58e255ca3f3391e7cf (patch) | |
tree | 25a4b72fdfa12df33a38f58bea7af9a5c0619181 /lib/CodeGen/CodeGenFunction.h | |
parent | 212921261b9904d5b21c85c68a57c2b0d3f72b14 (diff) |
This patch fixes the code gen failures which was a fallout from
not merging protocol properties into the classes which
use those protocols. With this patch, all my exceutable
test pass again.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 2cba7d03e0..8437f29fac 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -42,6 +42,7 @@ namespace clang { class FunctionDecl; class FunctionTypeProto; class LabelStmt; + class ObjCContainerDecl; class ObjCInterfaceDecl; class ObjCIvarDecl; class ObjCMethodDecl; @@ -184,7 +185,8 @@ public: void GenerateObjCMethod(const ObjCMethodDecl *OMD); - void StartObjCMethod(const ObjCMethodDecl *MD); + void StartObjCMethod(const ObjCMethodDecl *MD, + const ObjCContainerDecl *CD); /// GenerateObjCGetter - Synthesize an Objective-C property getter /// function. |