@@ -29,9 +29,6 @@ def AutolinkExtractOption : OptionFlag;
2929// The option should be accepted by swift -modulewrap
3030def ModuleWrapOption : OptionFlag;
3131
32- // The option should be accepted by swift-indent
33- def SwiftIndentOption : OptionFlag;
34-
3532// The option should not be accepted by the driver.
3633def NoDriverOption : OptionFlag;
3734
@@ -218,7 +215,6 @@ def driver_mode : Joined<["--"], "driver-mode=">, Flags<[HelpHidden]>,
218215
219216def help : Flag<["-", "--"], "help">,
220217 Flags<[FrontendOption, AutolinkExtractOption, ModuleWrapOption,
221- SwiftIndentOption,
222218 SwiftSymbolGraphExtractOption, SwiftAPIDigesterOption]>,
223219 HelpText<"Display available options">;
224220def h : Flag<["-"], "h">, Alias<help>;
@@ -268,8 +264,8 @@ def _DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>,
268264
269265def o : JoinedOrSeparate<["-"], "o">,
270266 Flags<[FrontendOption, AutolinkExtractOption, ModuleWrapOption,
271- NoInteractiveOption, SwiftIndentOption, ArgumentIsPath ,
272- SwiftAPIDigesterOption, CacheInvariant]>,
267+ NoInteractiveOption, ArgumentIsPath, SwiftAPIDigesterOption ,
268+ CacheInvariant]>,
273269 HelpText<"Write output to <file>">, MetaVarName<"<file>">;
274270
275271def j : JoinedOrSeparate<["-"], "j">, Flags<[DoesNotAffectIncrementalBuild]>,
@@ -1146,28 +1142,28 @@ def AssertConfig : Separate<["-"], "assert-config">,
11461142def code_formatting_Group : OptionGroup<"<code formatting options>">;
11471143
11481144def use_tabs : Flag<["-"], "use-tabs">, Group<code_formatting_Group>,
1149- Flags<[NoInteractiveOption, NoBatchOption, SwiftIndentOption ]>,
1145+ Flags<[NoInteractiveOption, NoBatchOption]>,
11501146 HelpText<"Use tabs for indentation.">;
11511147
11521148def indent_switch_case : Flag<["-"], "indent-switch-case">,
11531149 Group<code_formatting_Group>,
1154- Flags<[NoInteractiveOption, NoBatchOption, SwiftIndentOption ]>,
1150+ Flags<[NoInteractiveOption, NoBatchOption]>,
11551151 HelpText<"Indent cases in switch statements.">;
11561152
11571153def in_place : Flag<["-"], "in-place">, Group<code_formatting_Group>,
1158- Flags<[NoInteractiveOption, NoBatchOption, SwiftIndentOption ]>,
1154+ Flags<[NoInteractiveOption, NoBatchOption]>,
11591155 HelpText<"Overwrite input file with formatted file.">;
11601156
11611157def tab_width : Separate<["-"], "tab-width">, Group<code_formatting_Group>,
1162- Flags<[NoInteractiveOption, NoBatchOption, SwiftIndentOption ]>,
1158+ Flags<[NoInteractiveOption, NoBatchOption]>,
11631159 HelpText<"Width of tab character.">, MetaVarName<"<n>">;
11641160
11651161def indent_width : Separate<["-"], "indent-width">, Group<code_formatting_Group>,
1166- Flags<[NoInteractiveOption, NoBatchOption, SwiftIndentOption ]>,
1162+ Flags<[NoInteractiveOption, NoBatchOption]>,
11671163 HelpText<"Number of characters to indent.">, MetaVarName<"<n>">;
11681164
11691165def line_range : Separate<["-"], "line-range">, Group<code_formatting_Group>,
1170- Flags<[NoInteractiveOption, NoBatchOption, SwiftIndentOption ]>,
1166+ Flags<[NoInteractiveOption, NoBatchOption]>,
11711167 HelpText<"<start line>:<end line>. Formats a range of lines (1-based). "
11721168 "Can only be used with one input file.">, MetaVarName<"<n:n>">;
11731169
0 commit comments