llvm-project/libcxx/test/std
Arthur O'Dwyer bf20a09790 [libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback.
The tests for these are just copy-pasted from the tests for std::{strong,weak,partial}_order,
and then I added an extra clause in each (test_2()) to test the stuff that's not just the same
as std::*_order.

This also includes the fix for https://wg21.link/LWG3465 (which falls naturally out of the
"you must write it three times" style, but I've added test cases for it also).

There is an action item here to go back and give good diagnostics for SFINAE failures
in these CPOs. I've filed this as https://github.com/llvm/llvm-project/issues/53456 .

Differential Revision: https://reviews.llvm.org/D111514
2022-01-27 17:48:01 -05:00
..
algorithms [libcxx][test] compiler options are non-portable 2022-01-18 11:34:57 -08:00
atomics Revert "Revert D109159 "[amdgpu] Enable selection of `s_cselect_b64`."" 2022-01-05 13:10:25 -05:00
concepts [libc++][nfc] Add TEST_HAS_NO_INT128. 2022-01-27 17:31:27 +01:00
containers [libcxx][test] Use bool allocators for vector<bool>::get_allocator test 2022-01-25 10:29:12 -08:00
depr [libc++] Enable <atomic> when threads are disabled 2021-11-17 23:02:58 -05:00
diagnostics [libc++][NFC] Fix placement of some XFAILs 2022-01-13 15:28:41 -05:00
experimental [libcxx][test] Use TEST_HAS_BUILTIN in test code 2022-01-20 01:47:29 -08:00
input.output [libc++][AIX] Do not assert chmod return value is non-zero. 2022-01-24 10:30:05 -05:00
iterators [libc++] Fix bug in ranges::advance 2022-01-27 10:57:54 -05:00
language.support [libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback. 2022-01-27 17:48:01 -05:00
library/description/conventions [libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback. 2022-01-27 17:48:01 -05:00
localization [libcxx] [test] Fix the locale.time.put.byname/put1 testcase on Linux and Windows 2022-01-26 22:13:39 +02:00
namespace [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
numerics [libc++][nfc] Add TEST_HAS_NO_INT128. 2022-01-27 17:31:27 +01:00
ranges [libc++] [ranges] ref_view and empty_view are borrowed ranges. Normalize borrowed_range tests. 2022-01-27 14:21:51 -05:00
re [libc++] [ranges] Implement P2415R2 owning_view. 2022-01-13 12:29:41 -05:00
strings [libcxx][test] the domain of == for forward iterators is iterator values from the same range 2022-01-24 13:00:07 -08:00
thread [libc++] [test] ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS is not supported on AIX. 2022-01-14 12:48:04 -05:00
utilities [libc++][nfc] Add TEST_HAS_NO_INT128. 2022-01-27 17:31:27 +01:00
pstl