diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-06-01 14:13:53 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-06-01 14:13:53 +0000 |
commit | 20ff3108fcd2c3bd734dc79efc22ebaa090abd41 (patch) | |
tree | 022c249d29a7ebf64549cecac861eee67bdb350a /lib/CodeGen/CodeGenModule.h | |
parent | 289d9f243d9074513368d27eef3b647f72a38324 (diff) |
Support for code generation of Objective-C top-level language constructs.
Implemented by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 992a3bf3c2..3e77526067 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -32,6 +32,9 @@ namespace clang { class ASTContext; class FunctionDecl; class ObjCMethodDecl; + class ObjCImplementationDecl; + class ObjCCategoryImplDecl; + class ObjCProtocolDecl; class Decl; class Expr; class Stmt; @@ -114,6 +117,9 @@ public: void EmitStatics(void); void EmitObjCMethod(const ObjCMethodDecl *OMD); + void EmitObjCCategoryImpl(const ObjCCategoryImplDecl *OCD); + void EmitObjCClassImplementation(const ObjCImplementationDecl *OID); + void EmitObjCProtocolImplementation(const ObjCProtocolDecl *PD); void EmitFunction(const FunctionDecl *FD); void EmitGlobalVar(const VarDecl *D); void EmitGlobalVarInit(const VarDecl *D); |