[libc++][NFC] Remove __has_keyword
__has_keyword is almost not used anymore. There are only two cases. One can be replaced by __has_builtin and the other seems entirely redundant, so we can remove the definition. Reviewed By: #libc, Mordante Spies: Mordante, libcxx-commits Differential Revision: https://reviews.llvm.org/D158215
This commit is contained in:
@@ -308,7 +308,7 @@ class __tuple_leaf
|
||||
|
||||
template <class _Tp>
|
||||
static _LIBCPP_HIDE_FROM_ABI constexpr bool __can_bind_reference() {
|
||||
#if __has_keyword(__reference_binds_to_temporary)
|
||||
#if __has_builtin(__reference_binds_to_temporary)
|
||||
return !__reference_binds_to_temporary(_Hp, _Tp);
|
||||
#else
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user