[libcxx-commits] [PATCH] D114673: [libc++] Remove Clang 10 support.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 28 04:18:02 PST 2021
Mordante created this revision.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
I encountered this while reviewing an unrelated patch. Will land after
the CI passes.
Repository:
rG LLVM Github Monorepo
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.390194.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211128/3e289a74/attachment.bin>
More information about the libcxx-commits
mailing list