llvm-project/libcxx/test/std/utilities/meta
Fangrui Song 23023654be [libc++] Replace __ppc64__ with __powerpc64__ and fix is_iec559 for non-ibm128
The lowercase `__ppc64__` is not defined by non-darwin powerpc64 GCC, therefore
it lures users to write code which is not portable to GCC. Migrate to
`__powerpc64__` in preparation for undefining `__ppc64__`. `__powerpc64__` is
much more common than `__PPC64__`.

Update alignment_of.pass.cpp to use 1 unconditionally:
on powerpc-unknown-linux-gnu `alignof(bool) = _Alignof(bool) = __alignof(bool) = 1`.
The value 4 might be derived from an ancient Clang.

Change is_iec559 to true when long double uses uses IEEE 754 quadruple or double
precision (i.e. not ibm128).

Reviewed By: #libc, thesamesam, ldionne

Differential Revision: https://reviews.llvm.org/D137513
2022-11-22 13:33:34 -08:00
..
meta.const.eval Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
meta.help
meta.logical [libc++] type_traits: fix short-circuiting in std::conjunction. 2022-10-21 13:09:16 +02:00
meta.rel [libc++] type_traits: use __is_core_convertible in __invokable_r. 2022-05-24 10:22:40 +02:00
meta.rqmts
meta.trans [libc++] <type_traits>: Avoid instantiating a pointer type. 2022-11-21 14:34:08 -08:00
meta.type.synop
meta.unary [libc++] Add test to ensure that type trait aliases in dependent return types can be mangled 2022-09-17 14:25:09 +02:00
meta.unary.prop.query [libc++] Replace __ppc64__ with __powerpc64__ and fix is_iec559 for non-ibm128 2022-11-22 13:33:34 -08:00