diff options
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() {} |