From c93f49832d2dae19a24d644c8021388fc5b099ee Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 1 Jul 2009 21:23:16 +0000 Subject: Hold the LLVMContext by reference instead of by pointer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74642 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/CodeGen/ModuleBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/clang/CodeGen/ModuleBuilder.h') diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h index f7e2480526..cf83aaf129 100644 --- a/include/clang/CodeGen/ModuleBuilder.h +++ b/include/clang/CodeGen/ModuleBuilder.h @@ -36,7 +36,7 @@ namespace clang { CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags, const std::string &ModuleName, const CompileOptions &CO, - llvm::LLVMContext* C); + const llvm::LLVMContext& C); } #endif -- cgit v1.2.3-18-g5258