diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-29 23:17:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-29 23:17:50 +0000 |
commit | d1af2d2956e829ab16a124fbad1ecd65d81af234 (patch) | |
tree | aabd57f22564ce994ecaa98761de93e895ec46b7 /clang/CodeGen/CodeGenModule.h | |
parent | 2a8ad18e7118008528f7002ee23236b7cec796fc (diff) | |
download | bcm5719-llvm-d1af2d2956e829ab16a124fbad1ecd65d81af234.tar.gz bcm5719-llvm-d1af2d2956e829ab16a124fbad1ecd65d81af234.zip |
Implement conversion of clang ast types to LLVM types, at least for some trivial
cases.
llvm-svn: 39519
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/CodeGen/CodeGenModule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h index c971d42705f..c5d3b9395ff 100644 --- a/clang/CodeGen/CodeGenModule.h +++ b/clang/CodeGen/CodeGenModule.h @@ -30,6 +30,8 @@ class CodeGenModule { public: CodeGenModule(ASTContext &C, Module &M) : Context(C), TheModule(M) {} + ASTContext &getContext() const { return Context; } + void EmitFunction(FunctionDecl *FD); void PrintStats() {} |