Author: Jan Svoboda Date: 2023-09-05T13:23:54-07:00 New Revision: e76d4fddcbbe2f60e24dbe048ca50e130260edee
URL: https://github.com/llvm/llvm-project/commit/e76d4fddcbbe2f60e24dbe048ca50e130260edee DIFF: https://github.com/llvm/llvm-project/commit/e76d4fddcbbe2f60e24dbe048ca50e130260edee.diff LOG: [clang][arcmt] NFCI: Change invocation const-ness Added: Modified: clang/include/clang/ARCMigrate/ARCMT.h clang/lib/ARCMigrate/ARCMT.cpp Removed: ################################################################################ diff --git a/clang/include/clang/ARCMigrate/ARCMT.h b/clang/include/clang/ARCMigrate/ARCMT.h index 49e94a92cd0bc1f..2b950e3d2cc2bfa 100644 --- a/clang/include/clang/ARCMigrate/ARCMT.h +++ b/clang/include/clang/ARCMigrate/ARCMT.h @@ -102,7 +102,7 @@ class MigrationProcess { public: bool HadARCErrors; - MigrationProcess(const CompilerInvocation &CI, + MigrationProcess(CompilerInvocation &CI, std::shared_ptr<PCHContainerOperations> PCHContainerOps, DiagnosticConsumer *diagClient, StringRef outputDir = StringRef()); diff --git a/clang/lib/ARCMigrate/ARCMT.cpp b/clang/lib/ARCMigrate/ARCMT.cpp index ea0f25a6891166f..84c73393178924d 100644 --- a/clang/lib/ARCMigrate/ARCMT.cpp +++ b/clang/lib/ARCMigrate/ARCMT.cpp @@ -505,7 +505,7 @@ class RewritesApplicator : public TransformActions::RewriteReceiver { MigrationProcess::RewriteListener::~RewriteListener() { } MigrationProcess::MigrationProcess( - const CompilerInvocation &CI, + CompilerInvocation &CI, std::shared_ptr<PCHContainerOperations> PCHContainerOps, DiagnosticConsumer *diagClient, StringRef outputDir) : OrigCI(CI), PCHContainerOps(std::move(PCHContainerOps)), _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits