Further simplify the interface of PCHContainerGenerator

by dropping the const qualifier on the CI.

NFC

llvm-svn: 248101
This commit is contained in:
Adrian Prantl
2015-09-19 21:42:52 +00:00
parent fb80f961df
commit 1e63b2bdc3
5 changed files with 19 additions and 21 deletions

View File

@@ -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);
}