[libcxx-commits] [libcxx] [libc++] Update Clang version check in __config (PR #71849)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 9 11:13:00 PST 2023
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/71849
We only support Clang >= 16, but we seem to have forgotten to update the version theck in __config to reflect that.
>From 551cf938dd428f2163b156a65c8a8e2041d1129b Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Thu, 9 Nov 2023 09:11:57 -1000
Subject: [PATCH] [libc++] Update Clang version check in __config
We only support Clang >= 16, but we seem to have forgotten to update
the version theck in __config to reflect that.
---
libcxx/include/__config | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 39148ae2b184196..4412deb930cb45b 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -33,8 +33,8 @@
// Warn if a compiler version is used that is not supported anymore
// LLVM RELEASE Update the minimum compiler versions
# if defined(_LIBCPP_CLANG_VER)
-# if _LIBCPP_CLANG_VER < 1500
-# warning "Libc++ only supports Clang 15 and later"
+# if _LIBCPP_CLANG_VER < 1600
+# warning "Libc++ only supports Clang 16 and later"
# endif
# elif defined(_LIBCPP_APPLE_CLANG_VER)
# if _LIBCPP_APPLE_CLANG_VER < 1500
More information about the libcxx-commits
mailing list