llvm-project/libcxx/test/std/utilities
Joerg Sonnenberger 98f77828a9 Avoid using std::max_align_t in pre-C++11 mode
Always depend on the compiler to have a correct implementation of
max_align_t in stddef.h and don't provide a fallback. For pre-C++11,
require __STDCPP_NEW_ALIGNMENT__ in <new> as provided by clang in all
standard modes. Adjust test cases to avoid testing or using max_align_t
in pre-C++11 mode and also to better deal with alignof(max_align_t)>16.
Document requirements of the alignment tests around natural alignment of
power-of-two-sized types.

Differential revision: https://reviews.llvm.org/D73245
2020-04-04 01:38:41 +02:00
..
allocator.adaptor [libc++] Do not force the use of -Werror in verify tests 2020-03-26 07:54:45 -04:00
any libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
charconv [libc++] Add availability markup for std::to_chars on Apple platforms 2020-02-17 09:32:46 -05:00
function.objects [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
intseq [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
memory [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
meta Avoid using std::max_align_t in pre-C++11 mode 2020-04-04 01:38:41 +02:00
optional [libc++] Cleanup and enable multiple warnings. 2019-12-12 21:09:08 -05:00
ratio Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
smartptr/unique.ptr [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
template.bitset libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
time [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
tuple [libc++][P0174] Deprecated/removed parts of default allocator. 2020-03-04 12:06:26 -05:00
type.index libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
utilities.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
utility [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
utility.requirements [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
variant [libc++][test] Silence more warnings in variant tests 2019-10-14 14:38:12 +00:00