Skip to content

Commit 76abab9

Browse files
committed
[libc++] Run clang-format on newly-added test to fix CI
1 parent ac27228 commit 76abab9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

libcxx/test/libcxx/strings/basic.string/string.cons/constinit_sso_string.compile.pass.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
#include <string>
1515

1616
#if __SIZE_WIDTH__ == 64
17-
#define LONGEST_STR "0123456789012345678901"
17+
# define LONGEST_STR "0123456789012345678901"
1818
#elif __SIZE_WIDTH__ == 32
19-
#define LONGEST_STR "0123456789"
19+
# define LONGEST_STR "0123456789"
2020
#else
2121
# error "std::size_t has an unexpected size"
2222
#endif
2323

2424
constinit std::string g_str = LONGEST_STR;
25-
void fn() {
26-
constexpr std::string l_str = LONGEST_STR;
27-
}
25+
void fn() { constexpr std::string l_str = LONGEST_STR; }

0 commit comments

Comments
 (0)