[libcxx-commits] [libcxx] 7ee5e7e - [libc++] Remove Clang-11 support.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 30 03:50:28 PDT 2021


Author: Mark de Wever
Date: 2021-10-30T12:50:22+02:00
New Revision: 7ee5e7e97c1c9365c083f8ae456b5eda3c5540c0

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

LOG: [libc++] Remove Clang-11 support.

Since we no longer officially support Clang 11 remove the work-arounds
for this version.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D112727

Added: 
    

Modified: 
    libcxx/include/type_traits
    libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.const_char_array.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index a8f5f228ff9bf..5cd38f85cabed 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -852,9 +852,8 @@ inline constexpr bool is_array_v = is_array<_Tp>::value;
 
 // is_pointer
 
-// Before Clang 11 / AppleClang 12.0.5, __is_pointer didn't work for Objective-C types.
+// Before AppleClang 12.0.5, __is_pointer didn't work for Objective-C types.
 #if __has_keyword(__is_pointer) &&                                             \
-    !(defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER < 1100) &&               \
     !(defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER < 1205)
 
 template<class _Tp>

diff  --git a/libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.const_char_array.pass.cpp b/libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.const_char_array.pass.cpp
index 386af8449e653..a53829660d0fa 100644
--- a/libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.const_char_array.pass.cpp
+++ b/libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.const_char_array.pass.cpp
@@ -8,7 +8,6 @@
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 // UNSUPPORTED: libcpp-no-concepts
 // UNSUPPORTED: libcpp-has-no-incomplete-format
-// UNSUPPORTED: clang-11
 // TODO FMT Evaluate gcc-11 status
 // UNSUPPORTED: gcc-11
 // UNSUPPORTED: apple-clang-12


        


More information about the libcxx-commits mailing list