[libc++][test][NFC] Remove libcpp-no-concepts.This is no longer needed.Reviewed By: #libc, philnikDifferential Revision: https://reviews.llvm.org/D122099
[libc++][ranges] Implement changes to reverse_iterator from One Ranges Proposal.Changes in [P0896](https://wg21.link/p0896):- add `disable_sized_sentinel_for`;- add `iter_move` and `iter_swap`;-
[libc++][ranges] Implement changes to reverse_iterator from One Ranges Proposal.Changes in [P0896](https://wg21.link/p0896):- add `disable_sized_sentinel_for`;- add `iter_move` and `iter_swap`;- add a `requires` clause to the `operator->`;- add `iterator_concept`;- check that the `Iterator` template parameter is a bidirectional iterator;- add constraints to all comparison operators;- change the definitions of `iterator_category`, `value_type`, `difference_type` and `reference` (changes to `iterator_category` were already implemented).Also add a few forgotten things to the `reverse_iterator` synopsis(notably the spaceship operator).Differential Revision: https://reviews.llvm.org/D120180
show more ...
[libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI.All supported compilers that support C++20 now support concepts. So, remove`_LIB_LIBCPP_HAS_NO_CONCEPTS` in favor of `_LIBC
[libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI.All supported compilers that support C++20 now support concepts. So, remove`_LIB_LIBCPP_HAS_NO_CONCEPTS` in favor of `_LIBCPP_STD_VER > 17`. Similarly inthe tests, remove `// UNSUPPORTED: libcpp-no-concepts`.Differential Revision: https://reviews.llvm.org/D121528
[libcxx][test] {move,reverse}_iterator cannot be instantiated for a type with no `operator*`Since their nested reference types are defined in terms of `iter_reference_t<T>`, which examines `decltyp
[libcxx][test] {move,reverse}_iterator cannot be instantiated for a type with no `operator*`Since their nested reference types are defined in terms of `iter_reference_t<T>`, which examines `decltype(*declval<T>())`.Differential Revision: https://reviews.llvm.org/D117371
[libcxx] Implement three-way comparison for std::reverse_iteratorThis patch implements operator<=> for std::reverse_iterator andalso adds a test that checks that three-way comparison of different
[libcxx] Implement three-way comparison for std::reverse_iteratorThis patch implements operator<=> for std::reverse_iterator andalso adds a test that checks that three-way comparison of differentinstantiations of std::reverse_iterator works as expected (related toD113417).Reviewed By: ldionne, Quuxplusone, #libcDifferential Revision: https://reviews.llvm.org/D113695
[libc++] NFC: Tidy up the reverse_iterator testsIncidentally, that fixes an error with the modules build.