diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-29 23:50:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-29 23:50:05 +0000 |
commit | 308f431017429c94728ea0f719ae3fa6cd00e275 (patch) | |
tree | 262c9afc7c72cefb9b21d3b3c989bc19ddb04b43 /clang/CodeGen/CodeGenModule.h | |
parent | d5322cd27ee955b509f01eb566f01142f5e79fd8 (diff) | |
download | bcm5719-llvm-308f431017429c94728ea0f719ae3fa6cd00e275.tar.gz bcm5719-llvm-308f431017429c94728ea0f719ae3fa6cd00e275.zip |
Add codegen support for NullStmt and CompoundStmt. {;;{};;} is now ours!
llvm-svn: 39522
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h index c5d3b9395ff..7de3bc0e33b 100644 --- a/clang/CodeGen/CodeGenModule.h +++ b/clang/CodeGen/CodeGenModule.h @@ -31,6 +31,7 @@ public: CodeGenModule(ASTContext &C, Module &M) : Context(C), TheModule(M) {} ASTContext &getContext() const { return Context; } + Module &getModule() const { return TheModule; } void EmitFunction(FunctionDecl *FD); |