[libcxx-commits] [libcxx] [libc++][test] Move format.functions ASCII tests to `libcxx/test/libcxx` (PR #78661)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 18 18:24:57 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 9299ca797ae6d0c5ac008ef2126ab53f214daa21 5e38f18d4de470407dbb0ff389433e67d79166c9 -- libcxx/test/libcxx/utilities/format/format.functions/ascii.pass.cpp libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp b/libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp
index 1d92c7c96c..32352774a0 100644
--- a/libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp
+++ b/libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp
@@ -226,7 +226,7 @@ void test_char() {
     static_assert(sizeof(CharT) == 4, "add support for unexpected size");
     // Unicode fitting in a 32-bit wchar_t
 
-    constexpr wchar_t x  = 0x1ffff;
+    constexpr wchar_t x       = 0x1ffff;
     constexpr std::uint32_t y = 0x1ffff;
     static_assert(x == y);
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/78661


More information about the libcxx-commits mailing list