diff options
author | Mark de Wever <koraq@xs4all.nl> | 2022-08-13 15:01:44 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2022-08-14 13:39:12 +0200 |
commit | 3ec6900298d446045b58f7ac40cdb6cfdabe4a39 (patch) | |
tree | 654dcc3b063973f5976651baa9e0b189293784a4 /libcxx | |
parent | 156136502b73a53192f21fc0477263e76a17a9b9 (diff) | |
download | llvm-3ec6900298d446045b58f7ac40cdb6cfdabe4a39.zip llvm-3ec6900298d446045b58f7ac40cdb6cfdabe4a39.tar.gz llvm-3ec6900298d446045b58f7ac40cdb6cfdabe4a39.tar.bz2 |
[libc++][test] Disables clang-tidy test for GCC.
Increasing the constexpr evaluation limit breaks this clang-tidy test
for GCC. As discussed in D131317 disable the test in GCC.
Reviewed By: philnik, #libc
Differential Revision: https://reviews.llvm.org/D131835
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/libcxx/clang_tidy.sh.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libcxx/test/libcxx/clang_tidy.sh.cpp b/libcxx/test/libcxx/clang_tidy.sh.cpp index 93d5969..66ba544 100644 --- a/libcxx/test/libcxx/clang_tidy.sh.cpp +++ b/libcxx/test/libcxx/clang_tidy.sh.cpp @@ -8,10 +8,11 @@ // REQUIRES: has-clang-tidy +// The GCC compiler flags are not always compatible with clang-tidy. +// UNSUPPORTED: gcc + // TODO: run clang-tidy with modules enabled once they are supported -// RUN: clang-tidy %s --warnings-as-errors=* -header-filter=.* --config-file=%S/../../.clang-tidy -- -Wweak-vtables -Wno-unknown-warning-option %{compile_flags} -fno-modules -// -Wno-unknown-warning-option tells clang-tidy to ignore '-W' command-line arguments that it doesn't know. -// There are some GCC-specific ones where clang-tidy would warn otherwise. +// RUN: clang-tidy %s --warnings-as-errors=* -header-filter=.* --config-file=%S/../../.clang-tidy -- -Wweak-vtables %{compile_flags} -fno-modules // Prevent <ext/hash_map> from generating deprecated warnings for this test. #if defined(__DEPRECATED) |