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():
5353 continue
5454 if not first :
5555 # Print option arguments in the same line
56+ is_arg_param = is_arg_param or not arg .startswith ("-" )
5657 print (" " if is_arg_param else " \\ \n " , end = "" )
5758 first = False
5859
@@ -329,17 +330,27 @@ def main():
329330 "-arch" ,
330331 "-emit-ir" ,
331332 "-emit-sil" ,
333+ "-ferror-limit" ,
332334 "-fileno" ,
335+ "-fmodule-feature" ,
333336 "-import-objc-header" ,
337+ "-internal-externc-isystem" ,
334338 "-macosx_version_min" ,
339+ "-pic-level" ,
335340 "-resource-dir" ,
336341 "-rpath" ,
342+ "-stack-protector" ,
343+ "-stack-protector-buffer-size" ,
337344 "-syslibroot" ,
345+ "-target-abi" ,
346+ "-target-feature" ,
347+ "-target-linker-version" ,
338348 "-target-sdk-version" ,
339349 "-target-sdk-name" ,
350+ "-triple" ,
340351 ]
341352 # 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" ):
343354 is_arg_param = True
344355 if arg == "-c" and args [0 ] == "swift" :
345356 is_arg_param = True
You can’t perform that action at this time.
0 commit comments