llvm-project/libcxx/test/std
Arthur O'Dwyer 53406fb691 [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES.
The logic here is that we are disabling *only* things in `std::ranges::`.
Everything in `std::` is permitted, including `default_sentinel`, `contiguous_iterator`,
`common_iterator`, `projected`, `swappable`, and so on. Then, we include
anything from `std::ranges::` that is required in order to make those things
work: `ranges::swap`, `ranges::swap_ranges`, `input_range`, `ranges::begin`,
`ranges::iter_move`, and so on. But then that's all. Everything else (including
notably all of the "views" and the `std::views` namespace itself) is still
locked up behind `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`.

Differential Revision: https://reviews.llvm.org/D118736
2022-02-15 10:38:21 -05:00
..
algorithms [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
atomics [libc++] Fix broken stdatomic test on GCC 2022-02-15 09:26:27 -05:00
concepts [libc++][nfc] Add TEST_HAS_NO_THREADS. 2022-02-12 19:24:06 +01:00
containers [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05: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 [libc++] Remove <experimental/filesystem> header 2022-02-12 19:43:57 -05:00
input.output [libc++] Remove U+2009 THIN SPACE from comments in tests. NFC. 2022-02-14 10:30:36 -05:00
iterators [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
language.support [libc++] [C++2b] [P0943] Add stdatomic.h header. 2022-02-14 16:39:22 -05:00
library/description/conventions [libc++] [test] Uncomment std::ranges::min_element in niebloid.compile.pass.cpp. 2022-02-14 15:12:10 -05:00
localization [libcxx] [test] Fix the get_weekday test on glibc 2022-02-14 22:21:16 +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_CHAR8_T. 2022-02-11 17:37:05 +01:00
ranges [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
re [libc++][NFC] Use cpp17_output_iterator in tests. 2022-02-04 08:01:20 +01:00
strings [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
thread [libc++] [test] ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS is not supported on AIX. 2022-01-14 12:48:04 -05:00
utilities [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
pstl