From 1a65a7e4c8d8ff2babafd5f43d00dbd63cbb1ded Mon Sep 17 00:00:00 2001 From: Shivam Kunwar Date: Tue, 26 Sep 2023 04:40:39 +0530 Subject: [PATCH] fix indent --- .../alg.nonmodifying/alg.find/ranges.find_last.pass.cpp | 2 +- .../alg.nonmodifying/alg.find/ranges.find_last_if.pass.cpp | 4 ++-- .../alg.find/ranges.find_last_if_not.pass.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last.pass.cpp index 03a37714d96c30..5c09b612b2c614 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last.pass.cpp @@ -264,7 +264,7 @@ constexpr bool test() { } {// check that the implicit conversion to bool works - + { StrictComparable a[] = {1, 2, 2, 3, 4}; std::same_as*>> auto ret = std::ranges::find_last(a, a + 4, StrictComparable{2}); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if.pass.cpp index 6beb36f38f9cc4..c05a7f645e799b 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if.pass.cpp @@ -111,7 +111,7 @@ constexpr void test_iterators() { std::same_as> auto ret = std::ranges::find_last_if(It(a), Sent(It(a + 4)), [](int x) { return x == 5; }); assert(ret.empty()); } - + { int a[] = {1, 2, 3, 4}; std::same_as> auto ret = std::ranges::find_last_if(a, [](int x) { return x == 5; }); @@ -338,7 +338,7 @@ constexpr bool test() { } {// check that the implicit conversion to bool works - + { int a[] = {1, 2, 3, 3, 4}; std::same_as> auto ret = std::ranges::find_last_if(a, a + 4, [](const int& i) { return BooleanTestable{i == 3}; }); diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if_not.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if_not.pass.cpp index daca8e7c0d04f2..343497b75f323f 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if_not.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find_last_if_not.pass.cpp @@ -68,9 +68,9 @@ static_assert(!HasFindLastIfNotR); template constexpr void test_iterators() { - + {// Test with an empty range - + { int a[] = {}; std::same_as> auto ret = std::ranges::find_last_if_not(It(a), Sent(It(a)), [](int) { return false; }); @@ -187,7 +187,7 @@ constexpr bool test() { assert(ret.data() == a + 2); assert(ret.data()->comp == 0); assert(ret.data()->other == 1); - } + } { struct S {