@@ -107,7 +107,7 @@ def print_arg(arg, first, is_arg_param, cmd_name):
107
107
# swift package --help; \
108
108
# swiftc --help; \
109
109
# xcrun swift-frontend --help; \
110
- # xcrun swift-api-digester --help \
110
+ # xcrun swift-api-digester --help; \
111
111
# clang --help; \
112
112
# ) | rg -o -r '$3 $2' -- ' ((-[\w-]+),)? (-[\w-]+) <' \
113
113
# | sed 's/ *$//' | tr ' ' '\n' \
@@ -190,6 +190,7 @@ def print_arg(arg, first, is_arg_param, cmd_name):
190
190
"-clang-build-session-file" ,
191
191
"-clang-scanner-module-cache-path" ,
192
192
"-clang-target" ,
193
+ "-clang-target-variant" ,
193
194
"-compare-to-baseline-path" ,
194
195
"-const-gather-protocols-file" ,
195
196
"-coverage-prefix-map" ,
@@ -357,6 +358,7 @@ def print_arg(arg, first, is_arg_param, cmd_name):
357
358
"-fmodule-feature" ,
358
359
"-import-objc-header" ,
359
360
"-internal-externc-isystem" ,
361
+ "-library-level" ,
360
362
"-macosx_version_min" ,
361
363
"-pic-level" ,
362
364
"-resource-dir" ,
@@ -367,9 +369,11 @@ def print_arg(arg, first, is_arg_param, cmd_name):
367
369
"-target-abi" ,
368
370
"-target-feature" ,
369
371
"-target-linker-version" ,
370
- "-target-sdk-version" ,
371
372
"-target-sdk-name" ,
373
+ "-target-sdk-version" ,
374
+ "-target-variant-sdk-version" ,
372
375
"-triple" ,
376
+ "-typecheck-module-from-interface" ,
373
377
]
374
378
# Heuristic: options ending in -path expect an argument
375
379
if arg != "-finclude-tree-preserve-pch-path" and arg .startswith ("-" ) and arg .endswith ("-path" ):
0 commit comments