[libcxx-commits] [libcxx] 76abab9 - [libc++] Run clang-format on newly-added test to fix CI
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 11 06:32:19 PDT 2023
Author: Louis Dionne
Date: 2023-10-11T06:32:10-07:00
New Revision: 76abab9dc186166b60af28c1b1e833791d82de40
URL: https://github.com/llvm/llvm-project/commit/76abab9dc186166b60af28c1b1e833791d82de40
DIFF: https://github.com/llvm/llvm-project/commit/76abab9dc186166b60af28c1b1e833791d82de40.diff
LOG: [libc++] Run clang-format on newly-added test to fix CI
Added:
Modified:
libcxx/test/libcxx/strings/basic.string/string.cons/constinit_sso_string.compile.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/strings/basic.string/string.cons/constinit_sso_string.compile.pass.cpp b/libcxx/test/libcxx/strings/basic.string/string.cons/constinit_sso_string.compile.pass.cpp
index 5c0114c02970e6d..9fd82f2e2ae7ade 100644
--- a/libcxx/test/libcxx/strings/basic.string/string.cons/constinit_sso_string.compile.pass.cpp
+++ b/libcxx/test/libcxx/strings/basic.string/string.cons/constinit_sso_string.compile.pass.cpp
@@ -14,14 +14,12 @@
#include <string>
#if __SIZE_WIDTH__ == 64
-#define LONGEST_STR "0123456789012345678901"
+# define LONGEST_STR "0123456789012345678901"
#elif __SIZE_WIDTH__ == 32
-#define LONGEST_STR "0123456789"
+# define LONGEST_STR "0123456789"
#else
# error "std::size_t has an unexpected size"
#endif
constinit std::string g_str = LONGEST_STR;
-void fn() {
- constexpr std::string l_str = LONGEST_STR;
-}
+void fn() { constexpr std::string l_str = LONGEST_STR; }
More information about the libcxx-commits
mailing list