[libcxx-commits] [libcxx] 6b03d8a - [libc++][NFC] Remove spurious check for is-constant-evaluated
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 28 11:21:43 PDT 2023
Author: Louis Dionne
Date: 2023-09-28T14:21:35-04:00
New Revision: 6b03d8aa9432682343efae24dcf31d911e634320
URL: https://github.com/llvm/llvm-project/commit/6b03d8aa9432682343efae24dcf31d911e634320
DIFF: https://github.com/llvm/llvm-project/commit/6b03d8aa9432682343efae24dcf31d911e634320.diff
LOG: [libc++][NFC] Remove spurious check for is-constant-evaluated
This NFC change was reverted as part of 880fa7faa97, but the change is
really good regardless of the associated Clang patch.
Added:
Modified:
libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp
index 9291c0aa1f43404..abb9157df9abbbb 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp
@@ -93,12 +93,10 @@ constexpr void test_join_view() {
}
int main(int, char**) {
- if (!std::is_constant_evaluated()) {
- test_containers<std::deque<int>, std::deque<int>>();
- test_containers<std::deque<int>, std::vector<int>>();
- test_containers<std::vector<int>, std::deque<int>>();
- test_containers<std::vector<int>, std::vector<int>>();
- }
+ test_containers<std::deque<int>, std::deque<int>>();
+ test_containers<std::deque<int>, std::vector<int>>();
+ test_containers<std::vector<int>, std::deque<int>>();
+ test_containers<std::vector<int>, std::vector<int>>();
types::for_each(types::forward_iterator_list<int*>{}, []<class Iter> {
test_join_view<Iter, Iter>();
More information about the libcxx-commits
mailing list