Skip to content

Make -disable-experimental-parser-round-trip a module interface option #76360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions include/swift/Option/FrontendOptions.td
Original file line number Diff line number Diff line change
Expand Up @@ -1389,9 +1389,6 @@ def platform_c_calling_convention_EQ :
Joined<["-"], "experimental-platform-c-calling-convention=">,
Alias<platform_c_calling_convention>;

def disable_experimental_parser_round_trip : Flag<["-"],
"disable-experimental-parser-round-trip">,
HelpText<"Disable round trip through the new swift parser">;

def disable_sending_args_and_results_with_region_isolation : Flag<["-"],
"disable-sending-args-and-results-with-region-based-isolation">,
Expand All @@ -1411,3 +1408,8 @@ def platform_availability_inheritance_map_path
HelpText<"Path of the platform inheritance platform map">;

} // end let Flags = [FrontendOption, NoDriverOption, HelpHidden]

def disable_experimental_parser_round_trip : Flag<["-"],
"disable-experimental-parser-round-trip">,
HelpText<"Disable round trip through the new swift parser">,
Flags<[FrontendOption, NoDriverOption, HelpHidden, ModuleInterfaceOptionIgnorable]>;