diff options
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/CodeGen/ModuleBuilder.h | 2 | ||||
-rw-r--r-- | include/clang/Frontend/ASTConsumers.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 diff --git a/include/clang/Frontend/ASTConsumers.h b/include/clang/Frontend/ASTConsumers.h index b02548556d..35b00f1441 100644 --- a/include/clang/Frontend/ASTConsumers.h +++ b/include/clang/Frontend/ASTConsumers.h @@ -81,7 +81,7 @@ ASTConsumer *CreateBackendConsumer(BackendAction Action, const CompileOptions &CompileOpts, const std::string &ModuleID, llvm::raw_ostream *OS, - llvm::LLVMContext* C); + const llvm::LLVMContext& C); // HTML printer: uses the rewriter to convert source code to HTML with // syntax highlighting suitable for viewing in a web-browser. |