diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-30 23:03:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-30 23:03:07 +0000 |
commit | 4bd5596d0827ce8d021c8b67fcd9dca041d654ba (patch) | |
tree | 15155f84ef230d5d246a17bd72b8c653ff41ba27 /clang/lib/CodeGen/CodeGenModule.h | |
parent | dd0ace574bcad687e1644d773974593d5df18434 (diff) | |
download | bcm5719-llvm-4bd5596d0827ce8d021c8b67fcd9dca041d654ba.tar.gz bcm5719-llvm-4bd5596d0827ce8d021c8b67fcd9dca041d654ba.zip |
Add initial support for objc codegen for methods, ivars, and the
etoile runtime, patch by David Chisnall!
llvm-svn: 48969
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index cbea09fd3ec..553b3667762 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -30,6 +30,7 @@ namespace llvm { namespace clang { class ASTContext; class FunctionDecl; + class ObjCMethodDecl; class Decl; class Expr; class Stmt; @@ -100,6 +101,7 @@ public: void AddGlobalCtor(llvm::Function * Ctor); void EmitGlobalCtors(void); + void EmitObjCMethod(const ObjCMethodDecl *OMD); void EmitFunction(const FunctionDecl *FD); void EmitGlobalVar(const FileVarDecl *D); void EmitGlobalVarDeclarator(const FileVarDecl *D); |