From 1e63b2bdc311ae1b5fcec26758964accdeb3377c Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Sat, 19 Sep 2015 21:42:52 +0000 Subject: Further simplify the interface of PCHContainerGenerator by dropping the const qualifier on the CI. NFC llvm-svn: 248101 --- clang/lib/Frontend/PCHContainerOperations.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/lib/Frontend/PCHContainerOperations.cpp') 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 RawPCHContainerWriter::CreatePCHContainerGenerator( - DiagnosticsEngine &Diags, const CompilerInstance &CI, - const std::string &MainFileName, const std::string &OutputFileName, - llvm::raw_pwrite_stream *OS, std::shared_ptr Buffer) const { + CompilerInstance &CI, const std::string &MainFileName, + const std::string &OutputFileName, llvm::raw_pwrite_stream *OS, + std::shared_ptr Buffer) const { return llvm::make_unique(OS, Buffer); } -- cgit v1.2.3