Skip to content

Commit 34b1333

Browse files
authored
Merge pull request #31425 from hamishknight/a-frontend-vocation
2 parents 8755ced + f34964b commit 34b1333

File tree

4 files changed

+121
-150
lines changed

4 files changed

+121
-150
lines changed

include/swift/Frontend/Frontend.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ class CompilerInstance {
494494

495495
bool hasASTContext() const { return Context != nullptr; }
496496

497-
SILOptions &getSILOptions() { return Invocation.getSILOptions(); }
498497
const SILOptions &getSILOptions() const { return Invocation.getSILOptions(); }
499498

500499
Lowering::TypeConverter &getSILTypes();

include/swift/Migrator/Migrator.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ namespace migrator {
2828
/// If needed, run the migrator on the compiler invocation's input file and emit
2929
/// a "replacement map" describing the requested changes to the source file.
3030
/// \return true on error.
31-
bool updateCodeAndEmitRemapIfNeeded(CompilerInstance *Instance,
32-
const CompilerInvocation &Invocation);
31+
bool updateCodeAndEmitRemapIfNeeded(CompilerInstance *Instance);
3332

3433
/// Specify options when running syntactic migration pass.
3534
struct SyntacticPassOptions {

0 commit comments

Comments
 (0)