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 18
18
19
19
_LIBCPP_BEGIN_NAMESPACE_STD
20
20
21
- #if __has_builtin(__add_lvalue_reference)
21
+ #if __has_builtin(__add_lvalue_reference) && !defined(_LIBCPP_COMPILER_GCC)
22
22
23
23
template <class _Tp >
24
24
using __add_lvalue_reference_t _LIBCPP_NODEBUG = __add_lvalue_reference(_Tp);
Original file line number Diff line number Diff line change 20
20
21
21
_LIBCPP_BEGIN_NAMESPACE_STD
22
22
23
- #if !defined(_LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS) && __has_builtin(__add_pointer)
23
+ #if !defined(_LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS) && __has_builtin(__add_pointer) && !defined(_LIBCPP_COMPILER_GCC)
24
24
25
25
template <class _Tp >
26
26
using __add_pointer_t _LIBCPP_NODEBUG = __add_pointer(_Tp);
Original file line number Diff line number Diff line change 18
18
19
19
_LIBCPP_BEGIN_NAMESPACE_STD
20
20
21
- #if __has_builtin(__add_rvalue_reference)
21
+ #if __has_builtin(__add_rvalue_reference) && !defined(_LIBCPP_COMPILER_GCC)
22
22
23
23
template <class _Tp >
24
24
using __add_rvalue_reference_t _LIBCPP_NODEBUG = __add_rvalue_reference(_Tp);
Original file line number Diff line number Diff line change 25
25
26
26
_LIBCPP_BEGIN_NAMESPACE_STD
27
27
28
- #if __has_builtin(__decay)
28
+ #if __has_builtin(__decay) && !defined(_LIBCPP_COMPILER_GCC)
29
29
template <class _Tp >
30
30
using __decay_t _LIBCPP_NODEBUG = __decay(_Tp);
31
31
Original file line number Diff line number Diff line change 18
18
19
19
_LIBCPP_BEGIN_NAMESPACE_STD
20
20
21
- #if __has_builtin(__remove_all_extents)
21
+ #if __has_builtin(__remove_all_extents) && !defined(_LIBCPP_COMPILER_GCC)
22
22
template <class _Tp >
23
23
struct _LIBCPP_NO_SPECIALIZATIONS remove_all_extents {
24
24
using type _LIBCPP_NODEBUG = __remove_all_extents(_Tp);
Original file line number Diff line number Diff line change 18
18
19
19
_LIBCPP_BEGIN_NAMESPACE_STD
20
20
21
- #if __has_builtin(__remove_extent)
21
+ #if __has_builtin(__remove_extent) && !defined(_LIBCPP_COMPILER_GCC)
22
22
template <class _Tp >
23
23
struct _LIBCPP_NO_SPECIALIZATIONS remove_extent {
24
24
using type _LIBCPP_NODEBUG = __remove_extent(_Tp);
You can’t perform that action at this time.
0 commit comments