Skip to content

Commit 792f4f3

Browse files
Merge pull request #83250 from ian-twilightcoder/split-cmdline_verify-module
[utils] Add swift-api-digester arguments to split-cmdline
2 parents bca6f9e + 3a78559 commit 792f4f3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

utils/dev-scripts/split-cmdline

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)