llvm-project/libcxx/test/std/strings/string.view
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
..
string.view.access [libc++][NFC] Fix minor errors and inconsistencies in the test suite 2021-08-20 12:14:24 -04:00
string.view.capacity [libc++] Fix the return value of max_size() 2021-12-06 13:53:25 -05:00
string.view.comparison [libc++] [test] Refactor string_view comparison tests for comprehensiveness. 2021-12-01 15:04:33 -05:00
string.view.cons [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
string.view.deduct [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
string.view.find [libc++][NFC] Fix minor errors and inconsistencies in the test suite 2021-08-20 12:14:24 -04:00
string.view.hash [libc++][nfc] Add TEST_HAS_NO_UNICODE_CHARS. 2022-02-03 08:02:25 +01:00
string.view.io [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
string.view.iterators [libc++][ranges] Implement `indirectly_copyable{,_storable}`. 2022-02-02 13:27:44 -08:00
string.view.modifiers [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
string.view.nonmem [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
string.view.ops [libc++] Add GCC workaround in std::char_traits<char>::length() 2021-12-16 14:27:51 +01:00
string.view.synop [libc++][NFC] Fix minor errors and inconsistencies in the test suite 2021-08-20 12:14:24 -04:00
string.view.template [libc++][NFC] Fix minor errors and inconsistencies in the test suite 2021-08-20 12:14:24 -04:00
string_view.literals [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
char.bad.fail.cpp
enable_borrowed_range.compile.pass.cpp [libcxx] Reenable ranges for clang-cl 2021-05-01 11:15:38 +03:00
range_concept_conformance.compile.pass.cpp [libc++][NFC] Replace uses of stdr:: by just std::ranges:: 2021-09-02 13:02:12 -04:00
traits_mismatch.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
trivially_copyable.compile.pass.cpp [libc++][nfc] Add TEST_HAS_NO_CHAR8_T. 2022-02-11 17:37:05 +01:00
types.pass.cpp