Skip to content

Commit 5208261

Browse files
authored
Merge pull request #14188 from graydon/enable-disable-batch-mode-option
[BatchMode] Change option to -enable-batch-mode, add a -disable variant.
2 parents 39e0378 + 9ab1c01 commit 5208261

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

include/swift/Option/Options.td

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,13 @@ def whole_module_optimization : Flag<["-"], "whole-module-optimization">,
619619
HelpText<"Optimize input files together instead of individually">,
620620
Flags<[FrontendOption, NoInteractiveOption]>;
621621

622-
def batch_mode : Flag<["-"], "batch-mode">,
622+
def enable_batch_mode : Flag<["-"], "enable-batch-mode">,
623623
Flags<[FrontendOption, NoInteractiveOption, HelpHidden]>,
624-
HelpText<"Combine frontend jobs into batches">;
624+
HelpText<"Enable combining frontend jobs into batches">;
625+
626+
def disable_batch_mode : Flag<["-"], "disable-batch-mode">,
627+
Flags<[FrontendOption, NoInteractiveOption, HelpHidden]>,
628+
HelpText<"Disable combining frontend jobs into batches">;
625629

626630
def wmo : Flag<["-"], "wmo">, Alias<whole_module_optimization>,
627631
Flags<[FrontendOption, NoInteractiveOption, HelpHidden]>;

0 commit comments

Comments
 (0)