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 | e7217ff0c5311c8d0c6e8ac9bddd00756745ddb5 (patch) | |
tree | dbcf64a4454f4e6307789e3008f3299373f31a74 /include/clang/Frontend/PCHContainerOperations.h | |
parent | 263f8a9161f66e53b44ef7956983a2fc30b0c541 (diff) |
Further simplify the interface of PCHContainerGenerator
by dropping the const qualifier on the CI.
NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PCHContainerOperations.h')
-rw-r--r-- | include/clang/Frontend/PCHContainerOperations.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/clang/Frontend/PCHContainerOperations.h b/include/clang/Frontend/PCHContainerOperations.h index f6a742731b..92d9386207 100644 --- a/include/clang/Frontend/PCHContainerOperations.h +++ b/include/clang/Frontend/PCHContainerOperations.h @@ -46,9 +46,9 @@ public: /// PCHGenerator that produces a wrapper file format containing a /// serialized AST bitstream. virtual std::unique_ptr<ASTConsumer> 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 = 0; + CompilerInstance &CI, const std::string &MainFileName, + const std::string &OutputFileName, llvm::raw_pwrite_stream *OS, + std::shared_ptr<PCHBuffer> Buffer) const = 0; }; /// This abstract interface provides operations for unwrapping @@ -73,9 +73,8 @@ class RawPCHContainerWriter : public PCHContainerWriter { /// Return an ASTConsumer that can be chained with a /// PCHGenerator that writes the module to a flat file. std::unique_ptr<ASTConsumer> CreatePCHContainerGenerator( - DiagnosticsEngine &Diags, const CompilerInstance &CI, - const std::string &MainFileName, const std::string &OutputFileName, - llvm::raw_pwrite_stream *OS, + CompilerInstance &CI, const std::string &MainFileName, + const std::string &OutputFileName, llvm::raw_pwrite_stream *OS, std::shared_ptr<PCHBuffer> Buffer) const override; }; |