summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-01-10 21:06:09 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-01-10 21:06:09 +0000
commit0196a1cd2bbf86e63d5965fb4d8ed5a857b5c426 (patch)
tree802a7aa35246954977447a56899695b6433de695 /clang/lib/CodeGen/CodeGenFunction.h
parent8e7d88b91620200021c168d30a802a9d7073910a (diff)
downloadbcm5719-llvm-0196a1cd2bbf86e63d5965fb4d8ed5a857b5c426.tar.gz
bcm5719-llvm-0196a1cd2bbf86e63d5965fb4d8ed5a857b5c426.zip
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. llvm-svn: 62030
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 2cba7d03e00..8437f29faca 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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.
OpenPOWER on IntegriCloud