From 20ff3108fcd2c3bd734dc79efc22ebaa090abd41 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 1 Jun 2008 14:13:53 +0000 Subject: 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 --- lib/CodeGen/CodeGenModule.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/CodeGen/CodeGenModule.h') 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); -- cgit v1.2.3