File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
libcxx/include/__type_traits Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1818
1919_LIBCPP_BEGIN_NAMESPACE_STD
2020
21- #if __has_builtin(__add_lvalue_reference) && __GNUC__ < 15
21+ #if __has_builtin(__add_lvalue_reference) && !defined(_LIBCPP_COMPILER_GCC)
2222
2323template <class _Tp >
2424using __add_lvalue_reference_t _LIBCPP_NODEBUG = __add_lvalue_reference(_Tp);
Original file line number Diff line number Diff line change 2020
2121_LIBCPP_BEGIN_NAMESPACE_STD
2222
23- #if !defined(_LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS) && __has_builtin(__add_pointer) && __GNUC__ < 15
23+ #if !defined(_LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS) && __has_builtin(__add_pointer) && !defined(_LIBCPP_COMPILER_GCC)
2424
2525template <class _Tp >
2626using __add_pointer_t _LIBCPP_NODEBUG = __add_pointer(_Tp);
Original file line number Diff line number Diff line change 1818
1919_LIBCPP_BEGIN_NAMESPACE_STD
2020
21- #if __has_builtin(__add_rvalue_reference) && __GNUC__ < 15
21+ #if __has_builtin(__add_rvalue_reference) && !defined(_LIBCPP_COMPILER_GCC)
2222
2323template <class _Tp >
2424using __add_rvalue_reference_t _LIBCPP_NODEBUG = __add_rvalue_reference(_Tp);
Original file line number Diff line number Diff line change 2525
2626_LIBCPP_BEGIN_NAMESPACE_STD
2727
28- #if __has_builtin(__decay) && __GNUC__ < 15
28+ #if __has_builtin(__decay) && !defined(_LIBCPP_COMPILER_GCC)
2929template <class _Tp >
3030using __decay_t _LIBCPP_NODEBUG = __decay(_Tp);
3131
Original file line number Diff line number Diff line change 1818
1919_LIBCPP_BEGIN_NAMESPACE_STD
2020
21- #if __has_builtin(__remove_all_extents) && __GNUC__ < 15
21+ #if __has_builtin(__remove_all_extents) && !defined(_LIBCPP_COMPILER_GCC)
2222template <class _Tp >
2323struct _LIBCPP_NO_SPECIALIZATIONS remove_all_extents {
2424 using type _LIBCPP_NODEBUG = __remove_all_extents(_Tp);
Original file line number Diff line number Diff line change 1818
1919_LIBCPP_BEGIN_NAMESPACE_STD
2020
21- #if __has_builtin(__remove_extent) && __GNUC__ < 15
21+ #if __has_builtin(__remove_extent) && !defined(_LIBCPP_COMPILER_GCC)
2222template <class _Tp >
2323struct _LIBCPP_NO_SPECIALIZATIONS remove_extent {
2424 using type _LIBCPP_NODEBUG = __remove_extent(_Tp);
You can’t perform that action at this time.
0 commit comments