[libc++] Remove Clang-11 support.
authorMark de Wever <koraq@xs4all.nl>
Thu, 28 Oct 2021 15:41:35 +0000 (17:41 +0200)
committerMark de Wever <koraq@xs4all.nl>
Sat, 30 Oct 2021 10:50:22 +0000 (12:50 +0200)
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

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

index a8f5f22..5cd38f8 100644 (file)
@@ -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>