Skip to content

Commit 8d3f91e

Browse files
committed
[Migrator] Add temporary migrator flags
These do nothing, but are needed for temporary compatibility with Migrator workflows.
1 parent b3053cf commit 8d3f91e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

include/swift/Option/Options.td

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,18 @@ def api_diff_data_file: Separate<["-"], "api-diff-data-file">,
437437
def dump_usr: Flag<["-"], "dump-usr">,
438438
Flags<[FrontendOption, NoInteractiveOption]>,
439439
HelpText<"Dump USR for each declaration reference">;
440+
441+
// FIXME: Remove these once Xcode stops appending these flags.
442+
// rdar://problem/31844718
443+
444+
def migrator_update_sdk: Flag<["-"], "migrator-update-sdk">,
445+
Flags<[FrontendOption, NoInteractiveOption]>,
446+
HelpText<"Does nothing. Temporary compatibility flag for Xcode.">;
447+
448+
def migrator_update_swift: Flag<["-"], "migrator-update-swift">,
449+
Flags<[FrontendOption, NoInteractiveOption]>,
450+
HelpText<"Does nothing. Temporary compatibility flag for Xcode.">;
451+
440452
// File types
441453

442454
def parse_as_library : Flag<["-"], "parse-as-library">,

0 commit comments

Comments
 (0)