[libcxx-commits] [libcxx] 730dccb - [libc++] Remove support for Clang 9 and older.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 28 06:17:10 PST 2021
Author: Mark de Wever
Date: 2021-11-28T15:17:05+01:00
New Revision: 730dccb98622a82d1cad65e784ce5a8e8323e8cb
URL: https://github.com/llvm/llvm-project/commit/730dccb98622a82d1cad65e784ce5a8e8323e8cb
DIFF: https://github.com/llvm/llvm-project/commit/730dccb98622a82d1cad65e784ce5a8e8323e8cb.diff
LOG: [libc++] Remove support for Clang 9 and older.
I encountered this while reviewing an unrelated patch. Will land after
the CI passes.
Reviewed By: #libc, Mordante
Differential Revision: https://reviews.llvm.org/D114673
Added:
Modified:
libcxx/include/type_traits
Removed:
################################################################################
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits
index e9d5e06f36dc7..bfb6fcb05134e 100644
--- a/libcxx/include/type_traits
+++ b/libcxx/include/type_traits
@@ -1416,9 +1416,7 @@ template<class _Tp> using type_identity_t = typename type_identity<_Tp>::type;
// 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)> { };
More information about the libcxx-commits
mailing list