Skip to content

Commit 6069538

Browse files
committed
Use clang-format as the CI job
1 parent 6234bfe commit 6069538

File tree

6 files changed

+28
-21
lines changed

6 files changed

+28
-21
lines changed

libcxx/test/libcxx/containers/unord/unord.map/debug.insert.hint_const_lvalue.pass.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ int main(int, char**) {
2626
C::const_iterator e = c2.end();
2727
P v(3.5, 3);
2828
#if TEST_STD_VER < 11
29-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, v),
30-
"unordered_map::insert(const_iterator, const value_type&) called with an iterator not "
31-
"referring to this unordered_map");
29+
TEST_LIBCPP_ASSERT_FAILURE(
30+
c.insert(e, v),
31+
"unordered_map::insert(const_iterator, const value_type&) called with an iterator not "
32+
"referring to this unordered_map");
3233
#else
33-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, v),
34-
"unordered_map::insert(const_iterator, value_type&&) called with an iterator not "
35-
"referring to this unordered_map");
34+
TEST_LIBCPP_ASSERT_FAILURE(
35+
c.insert(e, v),
36+
"unordered_map::insert(const_iterator, value_type&&) called with an iterator not "
37+
"referring to this unordered_map");
3638
#endif
3739

3840
return 0;

libcxx/test/libcxx/containers/unord/unord.map/debug.insert.hint_rvalue.pass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ int main(int, char**) {
2626
C c;
2727
C c2;
2828
C::const_iterator e = c2.end();
29-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, P(3.5, 3)),
30-
"unordered_map::insert(const_iterator, const value_type&) called with an iterator not "
31-
"referring to this unordered_map");
29+
TEST_LIBCPP_ASSERT_FAILURE(
30+
c.insert(e, P(3.5, 3)),
31+
"unordered_map::insert(const_iterator, const value_type&) called with an iterator not "
32+
"referring to this unordered_map");
3233

3334
return 0;
3435
}

libcxx/test/libcxx/containers/unord/unord.multimap/debug.insert.hint_const_lvalue.pass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ int main(int, char**) {
2424
C c2;
2525
C::const_iterator e = c2.end();
2626
P v(3.5, 3);
27-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, v),
28-
"unordered container::emplace_hint(const_iterator, args...) called with an iterator not "
29-
"referring to this unordered container");
27+
TEST_LIBCPP_ASSERT_FAILURE(
28+
c.insert(e, v),
29+
"unordered container::emplace_hint(const_iterator, args...) called with an iterator not "
30+
"referring to this unordered container");
3031

3132
return 0;
3233
}

libcxx/test/libcxx/containers/unord/unord.multimap/debug.insert.hint_rvalue.pass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ int main(int, char**) {
2525
C c;
2626
C c2;
2727
C::const_iterator e = c2.end();
28-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, P(3.5, 3)),
29-
"unordered container::emplace_hint(const_iterator, args...) called with an iterator not "
30-
"referring to this unordered container");
28+
TEST_LIBCPP_ASSERT_FAILURE(
29+
c.insert(e, P(3.5, 3)),
30+
"unordered container::emplace_hint(const_iterator, args...) called with an iterator not "
31+
"referring to this unordered container");
3132

3233
return 0;
3334
}

libcxx/test/libcxx/containers/unord/unord.multiset/debug.insert.hint_const_lvalue.pass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ int main(int, char**) {
2424
C c2;
2525
C::const_iterator e = c2.end();
2626
P v(3.5);
27-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, v),
28-
"unordered container::emplace_hint(const_iterator, args...) called with an iterator not "
29-
"referring to this unordered container");
27+
TEST_LIBCPP_ASSERT_FAILURE(
28+
c.insert(e, v),
29+
"unordered container::emplace_hint(const_iterator, args...) called with an iterator not "
30+
"referring to this unordered container");
3031

3132
return 0;
3233
}

libcxx/test/libcxx/containers/unord/unord.set/debug.insert.hint_const_lvalue.pass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ int main(int, char**) {
2424
C c2;
2525
C::const_iterator e = c2.end();
2626
P v(3.5);
27-
TEST_LIBCPP_ASSERT_FAILURE(c.insert(e, v),
28-
"unordered_set::insert(const_iterator, const value_type&) called with an iterator not "
29-
"referring to this unordered_set");
27+
TEST_LIBCPP_ASSERT_FAILURE(
28+
c.insert(e, v),
29+
"unordered_set::insert(const_iterator, const value_type&) called with an iterator not "
30+
"referring to this unordered_set");
3031

3132
return 0;
3233
}

0 commit comments

Comments
 (0)