Skip to content

Commit 5dbd96d

Browse files
committed
CI
1 parent 9d322c2 commit 5dbd96d

File tree

21 files changed

+55
-56
lines changed

21 files changed

+55
-56
lines changed

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/equal.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3535
test(random_access_iterator<const char*>(s), random_access_iterator<const char*>(s+1), false);
3636
#if TEST_STD_VER >= 20
3737
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s), true);
38-
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s+1), false);
38+
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s + 1), false);
3939
#endif
4040
test(s, s, true);
4141
test(s, s+1, false);

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/greater-equal.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3434
test(random_access_iterator<const char*>(s+1), random_access_iterator<const char*>(s), false);
3535
#if TEST_STD_VER >= 20
3636
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s), true);
37-
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s+1), true);
38-
test(cpp20_random_access_iterator<const char*>(s+1), cpp20_random_access_iterator<const char*>(s), false);
37+
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s + 1), true);
38+
test(cpp20_random_access_iterator<const char*>(s + 1), cpp20_random_access_iterator<const char*>(s), false);
3939
#endif
4040
test(s, s, true);
4141
test(s, s+1, true);

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/greater.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3434
test(random_access_iterator<const char*>(s+1), random_access_iterator<const char*>(s), false);
3535
#if TEST_STD_VER >= 20
3636
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s), false);
37-
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s+1), true);
38-
test(cpp20_random_access_iterator<const char*>(s+1), cpp20_random_access_iterator<const char*>(s), false);
37+
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s + 1), true);
38+
test(cpp20_random_access_iterator<const char*>(s + 1), cpp20_random_access_iterator<const char*>(s), false);
3939
#endif
4040
test(s, s, false);
4141
test(s, s+1, true);

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/less-equal.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3434
test(random_access_iterator<const char*>(s+1), random_access_iterator<const char*>(s), true);
3535
#if TEST_STD_VER >= 20
3636
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s), true);
37-
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s+1), false);
38-
test(cpp20_random_access_iterator<const char*>(s+1), cpp20_random_access_iterator<const char*>(s), true);
37+
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s + 1), false);
38+
test(cpp20_random_access_iterator<const char*>(s + 1), cpp20_random_access_iterator<const char*>(s), true);
3939
#endif
4040
test(s, s, true);
4141
test(s, s+1, false);

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/less.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3434
test(random_access_iterator<const char*>(s+1), random_access_iterator<const char*>(s), true);
3535
#if TEST_STD_VER >= 20
3636
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s), false);
37-
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s+1), false);
38-
test(cpp20_random_access_iterator<const char*>(s+1), cpp20_random_access_iterator<const char*>(s), true);
37+
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s + 1), false);
38+
test(cpp20_random_access_iterator<const char*>(s + 1), cpp20_random_access_iterator<const char*>(s), true);
3939
#endif
4040
test(s, s, false);
4141
test(s, s+1, false);

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/not-equal.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3535
test(random_access_iterator<const char*>(s), random_access_iterator<const char*>(s+1), true);
3636
#if TEST_STD_VER >= 20
3737
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s), false);
38-
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s+1), true);
38+
test(cpp20_random_access_iterator<const char*>(s), cpp20_random_access_iterator<const char*>(s + 1), true);
3939
#endif
4040
test(s, s, false);
4141
test(s, s+1, true);

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.conv/base.pass.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@
2020

2121
template <class Iter>
2222
TEST_CONSTEXPR_CXX17 void test() {
23-
int i = 0;
24-
Iter iter(&i);
25-
std::reverse_iterator<Iter> const reverse(iter);
26-
typename std::reverse_iterator<Iter>::iterator_type base = reverse.base();
27-
assert(base == Iter(&i));
23+
int i = 0;
24+
Iter iter(&i);
25+
std::reverse_iterator<Iter> const reverse(iter);
26+
typename std::reverse_iterator<Iter>::iterator_type base = reverse.base();
27+
assert(base == Iter(&i));
2828
}
2929

3030
TEST_CONSTEXPR_CXX17 bool tests() {
31-
test<bidirectional_iterator<int*> >();
32-
test<random_access_iterator<int*> >();
31+
test<bidirectional_iterator<int*> >();
32+
test<random_access_iterator<int*> >();
3333
#if TEST_STD_VER >= 20
34-
test<cpp20_random_access_iterator<int*>>();
34+
test<cpp20_random_access_iterator<int*>>();
3535
#endif
36-
return true;
36+
return true;
3737
}
3838

3939
int main(int, char**) {
40-
tests();
40+
tests();
4141
#if TEST_STD_VER > 14
42-
static_assert(tests(), "");
42+
static_assert(tests(), "");
4343
#endif
44-
return 0;
44+
return 0;
4545
}

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.elem/arrow.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class cpp20_bidirectional_iterator_with_arrow {
3131

3232
public:
3333
using iterator_category = std::input_iterator_tag;
34-
using iterator_concept = std::bidirectional_iterator_tag;
34+
using iterator_concept = std::bidirectional_iterator_tag;
3535
using value_type = std::iterator_traits<It>::value_type;
3636
using difference_type = std::iterator_traits<It>::difference_type;
3737

@@ -68,7 +68,7 @@ class cpp20_bidirectional_iterator_with_arrow {
6868
return x.it_ != y.it_;
6969
}
7070

71-
friend It base(const cpp20_bidirectional_iterator_with_arrow& i) { return i.it_; }
71+
friend It base(const cpp20_bidirectional_iterator_with_arrow& i) { return i.it_; }
7272
};
7373
#endif
7474

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.elem/bracket.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ TEST_CONSTEXPR_CXX17 bool tests() {
3434
test(random_access_iterator<const char*>(s+5), 4, '1');
3535
test(random_access_iterator<const char*>(s+5), 0, '5');
3636
#if TEST_STD_VER >= 20
37-
test(cpp20_random_access_iterator<const char*>(s+5), 4, '1');
38-
test(cpp20_random_access_iterator<const char*>(s+5), 0, '5');
37+
test(cpp20_random_access_iterator<const char*>(s + 5), 4, '1');
38+
test(cpp20_random_access_iterator<const char*>(s + 5), 0, '5');
3939
#endif
4040
test(s+5, 4, '1');
4141
test(s+5, 0, '5');

libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.elem/dereference.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ int main(int, char**)
4848
{
4949
A a;
5050
test(&a+1, A());
51-
test(random_access_iterator<A*>(&a+1), A());
51+
test(random_access_iterator<A*>(&a + 1), A());
5252
#if TEST_STD_VER >= 20
53-
test(cpp20_random_access_iterator<A*>(&a+1), A());
53+
test(cpp20_random_access_iterator<A*>(&a + 1), A());
5454
#endif
5555

5656
#if TEST_STD_VER > 14

0 commit comments

Comments
 (0)