[libcxx-commits] [libcxx] ea89965 - [libc++] Update Clang version check in __config (#71849)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 9 16:55:23 PST 2023


Author: Louis Dionne
Date: 2023-11-10T01:55:20+01:00
New Revision: ea89965b3cfcb00a08941780da45c663cb4a6cab

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

LOG: [libc++] Update Clang version check in __config (#71849)

We only support Clang >= 16, but we seem to have forgotten to update the
version check in __config to reflect that.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
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