[all-commits] [llvm/llvm-project] d4853e: [libc++] [ranges] Permit std::mergeable and std::s...
Quuxplusone via All-commits
all-commits at lists.llvm.org
Mon Feb 28 11:56:58 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4853e638b8ec79d03e218e0d0f764500c30d015
https://github.com/llvm/llvm-project/commit/d4853e638b8ec79d03e218e0d0f764500c30d015
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2022-02-28 (Mon, 28 Feb 2022)
Changed paths:
M libcxx/include/__functional/ranges_operations.h
M libcxx/include/__iterator/mergeable.h
M libcxx/include/__iterator/sortable.h
M libcxx/test/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.compile.pass.cpp
M libcxx/test/std/iterators/iterator.requirements/alg.req.mergeable/mergeable.subsumption.compile.pass.cpp
M libcxx/test/std/iterators/iterator.requirements/alg.req.sortable/sortable.compile.pass.cpp
M libcxx/test/std/iterators/iterator.requirements/alg.req.sortable/sortable.subsumption.compile.pass.cpp
M libcxx/test/std/utilities/function.objects/range.cmp/equal_to.pass.cpp
M libcxx/test/std/utilities/function.objects/range.cmp/greater.pass.cpp
M libcxx/test/std/utilities/function.objects/range.cmp/greater_equal.pass.cpp
M libcxx/test/std/utilities/function.objects/range.cmp/less.pass.cpp
M libcxx/test/std/utilities/function.objects/range.cmp/less_equal.pass.cpp
M libcxx/test/std/utilities/function.objects/range.cmp/not_equal_to.pass.cpp
Log Message:
-----------
[libc++] [ranges] Permit std::mergeable and std::sortable with HAS_NO_INCOMPLETE_RANGES.
This follows the general direction of D118736 that
`_LIBCPP_HAS_NO_INCOMPLETE_RANGES` does *not* guard anything outside
of the `std::ranges::` namespace itself. This means we must permit
`ranges::less` etc. in no-ranges mode; that seems fine to me.
Differential Revision: https://reviews.llvm.org/D120139
More information about the All-commits
mailing list