File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ def main():
53
53
continue
54
54
if not first :
55
55
# Print option arguments in the same line
56
+ is_arg_param = is_arg_param or not arg .startswith ("-" )
56
57
print (" " if is_arg_param else " \\ \n " , end = "" )
57
58
first = False
58
59
@@ -329,17 +330,27 @@ def main():
329
330
"-arch" ,
330
331
"-emit-ir" ,
331
332
"-emit-sil" ,
333
+ "-ferror-limit" ,
332
334
"-fileno" ,
335
+ "-fmodule-feature" ,
333
336
"-import-objc-header" ,
337
+ "-internal-externc-isystem" ,
334
338
"-macosx_version_min" ,
339
+ "-pic-level" ,
335
340
"-resource-dir" ,
336
341
"-rpath" ,
342
+ "-stack-protector" ,
343
+ "-stack-protector-buffer-size" ,
337
344
"-syslibroot" ,
345
+ "-target-abi" ,
346
+ "-target-feature" ,
347
+ "-target-linker-version" ,
338
348
"-target-sdk-version" ,
339
349
"-target-sdk-name" ,
350
+ "-triple" ,
340
351
]
341
352
# Heuristic: options ending in -path expect an argument
342
- if arg .startswith ("-" ) and arg .endswith ("-path" ):
353
+ if arg != "-finclude-tree-preserve-pch-path" and arg .startswith ("-" ) and arg .endswith ("-path" ):
343
354
is_arg_param = True
344
355
if arg == "-c" and args [0 ] == "swift" :
345
356
is_arg_param = True
You can’t perform that action at this time.
0 commit comments