[libcxx-commits] [libcxx] [libc++] Update Clang version check in __config (PR #71849)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 9 11:13:26 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Louis Dionne (ldionne)
<details>
<summary>Changes</summary>
We only support Clang >= 16, but we seem to have forgotten to update the version theck in __config to reflect that.
---
Full diff: https://github.com/llvm/llvm-project/pull/71849.diff
1 Files Affected:
- (modified) libcxx/include/__config (+2-2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/71849
More information about the libcxx-commits
mailing list