Skip to content

Commit 3eabc0b

Browse files
authored
[test] Ignore unused arguments in PrintAsObjC(++) tests (#77334)
The `%check-in-clang-cxx` seems to pass `-fmodule-cache-path` that is unused in some setups, but not in `%check-in-clang`. Turn the error back into a warning to avoid the test failing.
1 parent db718c7 commit 3eabc0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/PrintAsObjC/lit.local.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ config.substitutions.insert(0, ('%check-in-clang-cxx',
1515
'-fobjc-arc -fmodules -fmodules-validate-system-headers '
1616
'-Weverything -Werror -Wno-unused-macros -Wno-incomplete-module '
1717
'-Wno-auto-import -Wno-c++98-compat-pedantic '
18+
'-Wno-unused-command-line-argument '
1819
'-F %%clang-importer-sdk-path/frameworks '
1920
'-I %%clang-include-dir '
2021
'-isysroot %r/Inputs/clang-importer-sdk' % config.test_source_root) )

0 commit comments

Comments
 (0)