[libcxx-commits] [libcxx] [libc++] Bump the clang version the clang-tidy checks are based on (PR #68318)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 5 08:02:47 PDT 2023


https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/68318

None

>From a34c3022dbf40edb2097a5325693f2cfcc8563c6 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Thu, 5 Oct 2023 17:02:08 +0200
Subject: [PATCH] [libc++] Bump the clang version the clang-tidy checks are
 based on

---
 libcxx/test/tools/clang_tidy_checks/CMakeLists.txt | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
index a8cd113fc6eb6a9..260e90f45f577cb 100644
--- a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
+++ b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
@@ -5,13 +5,9 @@
 set(LLVM_DIR_SAVE ${LLVM_DIR})
 set(Clang_DIR_SAVE ${Clang_DIR})
 
-# TODO LLVM 17 prefer to use the stable release again instead of ToT.
-# libc++ normally prefers the use the last stable release instead of the ToT.
-# For modules we need ToT since they are still under heavy development. So
-# temporary the ToT version is preferred.
 find_package(Clang 17)
 if (NOT Clang_FOUND)
-  find_package(Clang 16)
+  find_package(Clang 18)
 endif()
 
 set(SOURCES



More information about the libcxx-commits mailing list