Skip to content

Commit 982049f

Browse files
author
Gabor Horvath
committed
[cxx-interop] Work around errors in some tests
For some reason, the new version of clang started to emit -Wc++-keyword warnings in C mode when -Weverything is enabled. This PR suppresses this warning. rdar://155324207
1 parent 31408fe commit 982049f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/PrintAsObjC/lit.local.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ config.substitutions.insert(0, ('%check-in-clang',
1313
config.substitutions.insert(0, ('%check-in-clang-c',
1414
'%%clang-no-modules -fsyntax-only -x c-header -std=c99 '
1515
'-Weverything -Werror -Wno-unused-macros -Wno-incomplete-module '
16-
'-Wno-auto-import -Wno-poison-system-directories '
17-
'-F %%clang-importer-sdk-path/frameworks '
16+
'-Wno-auto-import -Wno-poison-system-directories -Wno-c++-keyword '
17+
'-Wno-unknown-warning-option -F %%clang-importer-sdk-path/frameworks '
1818
'-I %%clang-include-dir '
1919
'-isysroot %r/Inputs/clang-importer-sdk' % config.test_source_root) )
2020

0 commit comments

Comments
 (0)