Further simplify the interface of PCHContainerGenerator
by dropping the const qualifier on the CI. NFC llvm-svn: 248101
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user