diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-09-19 21:42:52 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-09-19 21:42:52 +0000 |
commit | 1e63b2bdc311ae1b5fcec26758964accdeb3377c (patch) | |
tree | ec288c295835fb08edf589093c752408316a0103 /clang/lib/Frontend/PCHContainerOperations.cpp | |
parent | fb80f961df53dd18b033e5f839fa2942cfae91ed (diff) | |
download | bcm5719-llvm-1e63b2bdc311ae1b5fcec26758964accdeb3377c.tar.gz bcm5719-llvm-1e63b2bdc311ae1b5fcec26758964accdeb3377c.zip |
Further simplify the interface of PCHContainerGenerator
by dropping the const qualifier on the CI.
NFC
llvm-svn: 248101
Diffstat (limited to 'clang/lib/Frontend/PCHContainerOperations.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHContainerOperations.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Frontend/PCHContainerOperations.cpp b/clang/lib/Frontend/PCHContainerOperations.cpp index 5cf8de44dca..5e1d7720509 100644 --- a/clang/lib/Frontend/PCHContainerOperations.cpp +++ b/clang/lib/Frontend/PCHContainerOperations.cpp @@ -48,9 +48,9 @@ public: } // anonymous namespace std::unique_ptr<ASTConsumer> RawPCHContainerWriter::CreatePCHContainerGenerator( - DiagnosticsEngine &Diags, const CompilerInstance &CI, - const std::string &MainFileName, const std::string &OutputFileName, - llvm::raw_pwrite_stream *OS, std::shared_ptr<PCHBuffer> Buffer) const { + CompilerInstance &CI, const std::string &MainFileName, + const std::string &OutputFileName, llvm::raw_pwrite_stream *OS, + std::shared_ptr<PCHBuffer> Buffer) const { return llvm::make_unique<RawPCHContainerGenerator>(OS, Buffer); } |