mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: Skip -scan-dependencies compiler calls
These do not produce any useful data and just crash our frontend.
This commit is contained in:
@@ -127,6 +127,9 @@ function RegisterExtractorPack(id)
|
|||||||
if compilerArguments.argv[1] == '-emit-supported-features' then
|
if compilerArguments.argv[1] == '-emit-supported-features' then
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
if compilerArguments.argv[1] == '-scan-dependencies' then
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
strip_unsupported_args(compilerArguments.argv)
|
strip_unsupported_args(compilerArguments.argv)
|
||||||
replace_resource_dir(compilerPath, compilerArguments.argv)
|
replace_resource_dir(compilerPath, compilerArguments.argv)
|
||||||
|
|||||||
Reference in New Issue
Block a user