llvm-project/libcxx/test/std/containers/sequences/array
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
..
array.cons [libcxx][test][NFC] Fix comment typos. 2019-10-22 15:22:13 -07:00
array.creation [libc++] Do not force the use of -Werror in verify tests 2020-03-26 07:54:45 -04:00
array.data Avoid using std::max_align_t in pre-C++11 mode 2020-04-04 01:38:41 +02:00
array.fill 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
array.size Support tests in freestanding 2019-02-04 20:31:13 +00:00
array.special Support tests in freestanding 2019-02-04 20:31:13 +00:00
array.swap Support tests in freestanding 2019-02-04 20:31:13 +00:00
array.tuple 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
array.zero 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
at.pass.cpp [libcxx] [test] Include missing headers. (NFC) 2019-12-13 18:24:18 -08:00
begin.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
compare.fail.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
compare.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
contiguous.pass.cpp 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
empty.fail.cpp [libc++] Do not force the use of -Werror in verify tests 2020-03-26 07:54:45 -04:00
empty.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
front_back.pass.cpp Mark 'front()' and 'back()' as noexcept for array/deque/string/string_view. These are just rebranded 'operator[]', and should be noexcept like it is. 2019-03-19 03:30:07 +00:00
indexing.pass.cpp Update a deque test with more assertions. NFC 2019-03-15 15:00:41 +00:00
iterators.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
max_size.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
size_and_alignment.pass.cpp Avoid using std::max_align_t in pre-C++11 mode 2020-04-04 01:38:41 +02:00
types.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00