Swift: Filter more clang options not recognized by off-the-shelf clang

This commit is contained in:
Jeroen Ketema
2026-06-16 10:56:32 +02:00
parent ae57ca7e65
commit ef67311af2

View File

@@ -54,6 +54,8 @@ function RegisterExtractorPack(id)
strip_unsupported_arg(args, '-experimental-skip-non-inlinable-function-bodies-without-types', 0)
strip_unsupported_clang_arg(args, '-ivfsstatcache', 1)
strip_unsupported_clang_arg(args, '-fno-odr-hash-protocols', 0)
strip_unsupported_clang_arg(args, '-fobjc-msgsend-selector-stubs', 0)
strip_unsupported_clang_arg(args, '-fstack-check', 0)
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation', 0)
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+enableAggressiveVLAFolding', 0)
strip_unsupported_clang_arg(args, '-clang-vendor-feature=+revert09abecef7bbf', 0)