[libcxx-commits] [PATCH] D114673: [libc++] Remove support for Clang 9 and older.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Nov 28 06:17:13 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG730dccb98622: [libc++] Remove support for Clang 9 and older. (authored by Mordante).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114673/new/

https://reviews.llvm.org/D114673

Files:
  libcxx/include/type_traits


Index: libcxx/include/type_traits
===================================================================
--- libcxx/include/type_traits
+++ libcxx/include/type_traits
@@ -1416,9 +1416,7 @@
 
 // is_signed
 
-// Before Clang 10, __is_signed didn't work for floating-point types or enums.
-#if __has_keyword(__is_signed) &&                                              \
-    !(defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER < 1000)
+#if __has_keyword(__is_signed)
 
 template<class _Tp>
 struct _LIBCPP_TEMPLATE_VIS is_signed : _BoolConstant<__is_signed(_Tp)> { };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114673.390199.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211128/21cb5944/attachment.bin>


More information about the libcxx-commits mailing list