[libcxx-commits] [libcxx] 42701ca - [libc++] Look for Clang 17 when compiling clang-tidy checks

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 1 14:05:24 PST 2023


Author: Nikolas Klauser
Date: 2023-02-01T23:05:17+01:00
New Revision: 42701cac812808682f9139d7832b1c6f74cef152

URL: https://github.com/llvm/llvm-project/commit/42701cac812808682f9139d7832b1c6f74cef152
DIFF: https://github.com/llvm/llvm-project/commit/42701cac812808682f9139d7832b1c6f74cef152.diff

LOG: [libc++] Look for Clang 17 when compiling clang-tidy checks

This allows compiling the clang-tidy checks when you only have ToT clang

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D142973

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 2ef102419e2fd..f5484fb16ce10 100644
--- a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
+++ b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
@@ -3,7 +3,7 @@
 set(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
 set(CMAKE_FIND_PACKAGE_SORT_DIRECTION DEC)
 
-find_package(Clang 16)
+find_package(Clang 16...17)
 
 set(SOURCES
     abi_tag_on_virtual.cpp


        


More information about the libcxx-commits mailing list