@@ -107,7 +107,7 @@ def print_arg(arg, first, is_arg_param, cmd_name):
107107 # swift package --help; \
108108 # swiftc --help; \
109109 # xcrun swift-frontend --help; \
110- # xcrun swift-api-digester --help \
110+ # xcrun swift-api-digester --help; \
111111 # clang --help; \
112112 # ) | rg -o -r '$3 $2' -- ' ((-[\w-]+),)? (-[\w-]+) <' \
113113 # | sed 's/ *$//' | tr ' ' '\n' \
@@ -190,6 +190,7 @@ def print_arg(arg, first, is_arg_param, cmd_name):
190190 "-clang-build-session-file" ,
191191 "-clang-scanner-module-cache-path" ,
192192 "-clang-target" ,
193+ "-clang-target-variant" ,
193194 "-compare-to-baseline-path" ,
194195 "-const-gather-protocols-file" ,
195196 "-coverage-prefix-map" ,
@@ -357,6 +358,7 @@ def print_arg(arg, first, is_arg_param, cmd_name):
357358 "-fmodule-feature" ,
358359 "-import-objc-header" ,
359360 "-internal-externc-isystem" ,
361+ "-library-level" ,
360362 "-macosx_version_min" ,
361363 "-pic-level" ,
362364 "-resource-dir" ,
@@ -367,9 +369,11 @@ def print_arg(arg, first, is_arg_param, cmd_name):
367369 "-target-abi" ,
368370 "-target-feature" ,
369371 "-target-linker-version" ,
370- "-target-sdk-version" ,
371372 "-target-sdk-name" ,
373+ "-target-sdk-version" ,
374+ "-target-variant-sdk-version" ,
372375 "-triple" ,
376+ "-typecheck-module-from-interface" ,
373377 ]
374378 # Heuristic: options ending in -path expect an argument
375379 if arg != "-finclude-tree-preserve-pch-path" and arg .startswith ("-" ) and arg .endswith ("-path" ):
0 commit comments