summaryrefslogtreecommitdiffstats
path: root/include/clang/CodeGen/ModuleBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h
index 5812da1..12b74d5 100644
--- a/include/clang/CodeGen/ModuleBuilder.h
+++ b/include/clang/CodeGen/ModuleBuilder.h
@@ -18,6 +18,7 @@
#include <string>
namespace llvm {
+ class LLVMContext;
class Module;
}
@@ -34,7 +35,8 @@ namespace clang {
CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags,
const std::string &ModuleName,
- const CompileOptions &CO);
+ const CompileOptions &CO,
+ llvm::LLVMContext& C);
}
#endif
OpenPOWER on IntegriCloud