[libcxx-commits] [PATCH] D142973: [libc++] Look for Clang 17 when compiling clang-tidy checks

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 1 09:12:45 PST 2023


ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/test/tools/clang_tidy_checks/CMakeLists.txt:6-10
+find_package(Clang 17)
+
+if(NOT Clang_FOUND)
+  find_package(Clang 16)
+endif()
----------------
This is supported starting in CMake 3.19, and starting with LLVM 17 we support CMake >= 3.20.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142973/new/

https://reviews.llvm.org/D142973



More information about the libcxx-commits mailing list