summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-26 08:29:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-26 08:29:31 +0000
commit89654eef3a96d32ea9f82d07a1cc495a4f6437dc (patch)
tree9bfb4b77c9bca03c6c7075ba43464daff563f46a /clang/lib/CodeGen/CodeGenModule.h
parent5e558bcf260404de0b4e0b73c09dd0b1bf0d38e7 (diff)
downloadbcm5719-llvm-89654eef3a96d32ea9f82d07a1cc495a4f6437dc.tar.gz
bcm5719-llvm-89654eef3a96d32ea9f82d07a1cc495a4f6437dc.zip
Objective-C @synthesize support.
- Only supports simple assignment and atomic semantics are ignored. - Not quite usable yet because the methods do not actually get added to the class metadata. - Added ObjCPropertyDecl::getSetterKind (one of Assign, Copy, Retain). - Rearrange CodeGenFunction so synthesis can reuse function prolog / epilog code. llvm-svn: 55365
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 7501fd461e6..b339ae9d674 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -217,6 +217,7 @@ private:
llvm::GlobalValue *EmitForwardFunctionDefinition(const FunctionDecl *D);
void EmitGlobalFunctionDefinition(const FunctionDecl *D);
void EmitGlobalVarDefinition(const VarDecl *D);
+ void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
// FIXME: Hardcoding priority here is gross.
void AddGlobalCtor(llvm::Function * Ctor, int Priority=65535);
OpenPOWER on IntegriCloud