@@ -1764,6 +1764,16 @@ def symbol_graph_minimum_access_level: Separate<["-"], "symbol-graph-minimum-acc
17641764 HelpText<"Include symbols with this access level or more when emitting a symbol graph">,
17651765 MetaVarName<"<level>">;
17661766
1767+ def symbol_graph_allow_availability_platforms: Separate<["-"], "symbol-graph-allow-availability-platforms">,
1768+ Flags<[FrontendOption, NoInteractiveOption, SupplementaryOutput, HelpHidden]>,
1769+ HelpText<"Restrict availability metadata to the given platforms, e.g. 'macOS,Swift'">,
1770+ MetaVarName<"<platforms>">;
1771+
1772+ def symbol_graph_block_availability_platforms: Separate<["-"], "symbol-graph-block-availability-platforms">,
1773+ Flags<[FrontendOption, NoInteractiveOption, SupplementaryOutput, HelpHidden]>,
1774+ HelpText<"Remove the given platforms from symbol graph availability metadata, e.g. 'macOS,Swift'">,
1775+ MetaVarName<"<platforms>">;
1776+
17671777def pretty_print: Flag<["-"], "pretty-print">,
17681778 Flags<[SwiftSymbolGraphExtractOption]>,
17691779 HelpText<"Pretty-print the output JSON">;
@@ -1778,6 +1788,16 @@ def omit_extension_block_symbols: Flag<["-"], "omit-extension-block-symbols">,
17781788 NoInteractiveOption, SupplementaryOutput, HelpHidden]>,
17791789 HelpText<"Directly associate members and conformances with the extended nominal when generating symbol graphs instead of emitting 'swift.extension' symbols for extensions to external types">;
17801790
1791+ def allow_availability_platforms: Separate<["-"], "allow-availability-platforms">,
1792+ Flags<[SwiftSymbolGraphExtractOption]>,
1793+ HelpText<"Restrict availability metadata to the given platforms, e.g. 'macOS,Swift'">,
1794+ MetaVarName<"<platforms>">;
1795+
1796+ def block_availability_platforms: Separate<["-"], "block-availability-platforms">,
1797+ Flags<[SwiftSymbolGraphExtractOption]>,
1798+ HelpText<"Remove the given platforms from symbol graph availability metadata, e.g. 'macOS,Swift'">,
1799+ MetaVarName<"<platforms>">;
1800+
17811801// swift-synthesize-interface-only options
17821802def include_submodules : Flag<["-"], "include-submodules">,
17831803 Flags<[NoDriverOption, SwiftSynthesizeInterfaceOption]>,
0 commit comments