diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-01 21:23:16 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-01 21:23:16 +0000 |
commit | c93f49832d2dae19a24d644c8021388fc5b099ee (patch) | |
tree | 28fa0d00a01c12ca42ea12dc0373c0b3094b6efe /include/clang/Frontend | |
parent | d45c36308e563e1fac1cd124d606f403f9a39a29 (diff) |
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
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/ASTConsumers.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |