summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h1
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);
OpenPOWER on IntegriCloud