Skip to content

Commit 62b6b3b

Browse files
authored
Merge pull request swiftlang#9040 from bitjammer/temp-migrator-flag
2 parents 2f31479 + 8d3f91e commit 62b6b3b

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)