Skip to content

Commit 5834b98

Browse files
committed
git-clang-format
1 parent d51148d commit 5834b98

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

libcxx/test/std/strings/basic.string/awkward-char-types.pass.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include "test_macros.h"
77

8-
template<typename Char>
8+
template <typename Char>
99
void test_string() {
1010
// Make a test string.
1111
std::basic_string<Char> s;
@@ -26,7 +26,7 @@ void test_string() {
2626
}
2727
}
2828

29-
template<typename Integer, size_t N>
29+
template <typename Integer, size_t N>
3030
struct TestChar {
3131
Integer values[N];
3232

@@ -37,15 +37,11 @@ struct TestChar {
3737
return ch;
3838
}
3939

40-
bool operator==(const TestChar &other) const {
41-
return 0 == memcmp(values, other.values, sizeof(values));
42-
}
43-
bool operator<(const TestChar &other) const {
44-
return 0 < memcmp(values, other.values, sizeof(values));
45-
}
40+
bool operator==(const TestChar& other) const { return 0 == memcmp(values, other.values, sizeof(values)); }
41+
bool operator<(const TestChar& other) const { return 0 < memcmp(values, other.values, sizeof(values)); }
4642
};
4743

48-
template<typename Integer, size_t N>
44+
template <typename Integer, size_t N>
4945
struct std::char_traits<TestChar<Integer, N>> {
5046
using char_type = TestChar<Integer, N>;
5147
using int_type = int;

0 commit comments

Comments
 (0)