| commit | d1af2d2956e829ab16a124fbad1ecd65d81af234 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Tue May 29 23:17:50 2007 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Tue May 29 23:17:50 2007 +0000 |
| tree | aabd57f22564ce994ecaa98761de93e895ec46b7 | |
| parent | 2a8ad18e7118008528f7002ee23236b7cec796fc [diff] [blame] |
Implement conversion of clang ast types to LLVM types, at least for some trivial cases. llvm-svn: 39519
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h index c971d42..c5d3b93 100644 --- a/clang/CodeGen/CodeGenModule.h +++ b/clang/CodeGen/CodeGenModule.h
@@ -30,6 +30,8 @@ public: CodeGenModule(ASTContext &C, Module &M) : Context(C), TheModule(M) {} + ASTContext &getContext() const { return Context; } + void EmitFunction(FunctionDecl *FD); void PrintStats() {}