[llvm-branch-commits] [libcxx] 3a06861 - [libc++] Use clang-tidy version that matches the compiler we use in the CI (#85305)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Mar 16 15:32:47 PDT 2024


Author: Louis Dionne
Date: 2024-03-16T15:32:44-07:00
New Revision: 3a06861272d8a0710d1880e8e3d4954a76b7f256

URL: https://github.com/llvm/llvm-project/commit/3a06861272d8a0710d1880e8e3d4954a76b7f256
DIFF: https://github.com/llvm/llvm-project/commit/3a06861272d8a0710d1880e8e3d4954a76b7f256.diff

LOG: [libc++] Use clang-tidy version that matches the compiler we use in the CI (#85305)

This works around ODR violations in the clang-tidy plugin we use to
perform the modules tests.

Fixes #85242

Added: 
    

Modified: 
    libcxx/test/tools/clang_tidy_checks/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
index 978e7095216522..a52140e2b9938a 100644
--- a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
+++ b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
@@ -5,7 +5,7 @@
 set(LLVM_DIR_SAVE ${LLVM_DIR})
 set(Clang_DIR_SAVE ${Clang_DIR})
 
-find_package(Clang 18)
+find_package(Clang 18.1)
 if (NOT Clang_FOUND)
   find_package(Clang 17)
 endif()


        


More information about the llvm-branch-commits mailing list