llvm-project/libcxx/test/std/utilities/meta/meta.trans
John Baldwin 26068c6e60 [libc++] <type_traits>: Avoid instantiating a pointer type.
GCC expands the pointer type in this conditional expression even for
template types _Up that are not arrays.  This raises an error when
std::decay<> is used with reference types (as is done in LLVM's
sources).  Using add_pointer<> causes GCC to only instantiate a
pointer type for array types.

Reviewed By: #libc, philnik, ldionne

Differential Revision: https://reviews.llvm.org/D135469
2022-11-21 14:34:08 -08:00
..
meta.trans.arr
meta.trans.cv
meta.trans.other [libc++] <type_traits>: Avoid instantiating a pointer type. 2022-11-21 14:34:08 -08:00
meta.trans.ptr
meta.trans.ref
meta.trans.sign [libc++] Remove _LIBCPP_HAS_NO_STRONG_ENUMS. 2022-03-01 20:27:20 +01:00