summaryrefslogtreecommitdiff
path: root/include/clang/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-01 17:00:06 +0000
committerOwen Anderson <resistor@mac.com>2009-07-01 17:00:06 +0000
commit42253cc3bc006661da1287aafef93d52d00dfed1 (patch)
treee637d7ffba98114d4d147e2198384cb5db68a58d /include/clang/CodeGen
parenta3844922f685620002412df0a88d22393e5c1241 (diff)
downloadclang-42253cc3bc006661da1287aafef93d52d00dfed1.tar.gz
Update for LLVMContext+Module change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen')
-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 5812da1b56..f7e2480526 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