diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-01-17 08:18:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 08:18:36 +0100 |
commit | e6ac33b9369252b616625195bffc9ed6eb92cb52 (patch) | |
tree | 419d10aea52c4b9d29fa6d2ae12451e4f12b55fa /libcxx/test/tools | |
parent | 57ca74843586c9a93c425036c5538aae0a2cfa60 (diff) | |
download | llvm-e6ac33b9369252b616625195bffc9ed6eb92cb52.zip llvm-e6ac33b9369252b616625195bffc9ed6eb92cb52.tar.gz llvm-e6ac33b9369252b616625195bffc9ed6eb92cb52.tar.bz2 |
[libc++][modules] Increase clang-tidy version used. (#76268)
As suggested in #71438 we should use
export import std;
in the std.compat module.
Testing this locally failed when building with the clang-tidy-17 plugin.
The std module was considered corrupt in the test
libcxx/test/libcxx/module_std_compat.gen.py
however the test
libcxx/test/libcxx/module_std.gen.py
passed. Both test generated identical std.pcm files. Using the
clang-tidy-18 plugin solves the issue.
Diffstat (limited to 'libcxx/test/tools')
-rw-r--r-- | libcxx/test/tools/clang_tidy_checks/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt index 260e90f..978e709 100644 --- a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt +++ b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt @@ -5,9 +5,9 @@ set(LLVM_DIR_SAVE ${LLVM_DIR}) set(Clang_DIR_SAVE ${Clang_DIR}) -find_package(Clang 17) +find_package(Clang 18) if (NOT Clang_FOUND) - find_package(Clang 18) + find_package(Clang 17) endif() set(SOURCES |