[libc++] Add missing 'return 0;' to main() in test
[libc++] Canonicalize the ranges results and their testsReviewed By: var-const, Mordante, #libc, ldionneSpies: ldionne, libcxx-commitsDifferential Revision: https://reviews.llvm.org/D121435
[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
show more ...
[libc++][ranges] Add ranges::in_found_resultReviewed By: Quuxplusone, #libcSpies: libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.org/D119763
[libc++][ranges] Add ranges::min_max_resultReviewed By: Quuxplusone, #libcSpies: libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.org/D119751
[libc++] [test] Split "UNSUPPORTED: libcpp-no-concepts, libcpp-has-no-incomplete-ranges" onto two lines. NFC.
[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 `de
[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 includeanything from `std::ranges::` that is required in order to make those thingswork: `ranges::swap`, `ranges::swap_ranges`, `input_range`, `ranges::begin`,`ranges::iter_move`, and so on. But then that's all. Everything else (includingnotably all of the "views" and the `std::views` namespace itself) is stilllocked up behind `_LIBCPP_HAS_NO_INCOMPLETE_RANGES`.Differential Revision: https://reviews.llvm.org/D118736
[libc++] Add ranges::in_fun_resultAdd `ranges::in_fun_result`Reviewed By: Quuxplusone, #libc, var-constSpies: CaseyCarter, var-const, libcxx-commits, mgornyDifferential Revision: https://revi
[libc++] Add ranges::in_fun_resultAdd `ranges::in_fun_result`Reviewed By: Quuxplusone, #libc, var-constSpies: CaseyCarter, var-const, libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.org/D116974
[libc++][ranges] Add ranges::in_out_out_resultAdd `ranges::in_out_out_result`Reviewed By: Quuxplusone, Mordante, #libcSpies: libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.
[libc++][ranges] Add ranges::in_out_out_resultAdd `ranges::in_out_out_result`Reviewed By: Quuxplusone, Mordante, #libcSpies: libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.org/D118634
[libc++][ranges] Add ranges::in_in_out_resultAdd `ranges::in_in_out_result`Reviewed By: Quuxplusone, Mordante, #libcSpies: CaseyCarter, libcxx-commits, mgornyDifferential Revision: https://r
[libc++][ranges] Add ranges::in_in_out_resultAdd `ranges::in_in_out_result`Reviewed By: Quuxplusone, Mordante, #libcSpies: CaseyCarter, libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.org/D117512
[libc++][test] test in_in_result convertible requirementsCurrently it is not checked that operator in_in_result<II1, II2>() SFINAEs away properlyReviewed By: ldionne, #libcSpies: libcxx-commits
[libc++][test] test in_in_result convertible requirementsCurrently it is not checked that operator in_in_result<II1, II2>() SFINAEs away properlyReviewed By: ldionne, #libcSpies: libcxx-commitsDifferential Revision: https://reviews.llvm.org/D117517
[libc++][ranges] Add ranges::in_in_resultAdd `std::ranges::in_in_result`Reviewed By: Quuxplusone, Mordante, #libcSpies: ldionne, libcxx-commits, mgornyDifferential Revision: https://reviews.l
[libc++][ranges] Add ranges::in_in_resultAdd `std::ranges::in_in_result`Reviewed By: Quuxplusone, Mordante, #libcSpies: ldionne, libcxx-commits, mgornyDifferential Revision: https://reviews.llvm.org/D116278
Revert "[libc++] Temporarily disable the in_out_result test on Fuchsia."This reverts commit 9e634b35ff51d0eb2b38013111491e88bdbae388.
[libc++] Quick fix to remove a narrowing conversion from the in_out_result test.This needs a proper solution in a follow-up. The issue is that theStandard defines conversions between `in_out_resul
[libc++] Quick fix to remove a narrowing conversion from the in_out_result test.This needs a proper solution in a follow-up. The issue is that theStandard defines conversions between `in_out_result` classes withdifferent template types as just `return {in, out};`. Because theexpression uses list initialization, it will fail to compile if theconversion happens to be narrowing -- which is probably unintended.Surprisingly, this error wasn't caught by the CI.Differential Revision: https://reviews.llvm.org/D117089
[libc++] Temporarily disable the in_out_result test on Fuchsia.
[libc++][ranges] Implement `uninitialized_copy{,_n}` and `uninitialized_move{,_n}`.Also implement `in_out_result` which is a prerequisite.Differential Revision: https://reviews.llvm.org/D116023