Skip to content

Commit

Permalink
[clang][arcmt] NFCI: Change invocation const-ness
Browse files Browse the repository at this point in the history
  • Loading branch information
jansvoboda11 committed Sep 5, 2023
1 parent 8e0c9bb commit e76d4fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clang/include/clang/ARCMigrate/ARCMT.h
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion clang/lib/ARCMigrate/ARCMT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit e76d4fd

Please sign in to comment.