[libcxx-commits] [libcxx] [ASan][libc++] Correct (explicit) annotation size (PR #79292)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 24 06:02:35 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 182ab1c7034b951433fb8831b67e7758fe61d4e8 3a34cf68d1c8a511ca68d53cde3cfd7b5bd1ef26 -- libcxx/include/string libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp
index 6eac4082fb..514c8c9e67 100644
--- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp
@@ -49,7 +49,10 @@ TEST_CONSTEXPR_CXX20 void test_string() {
// Starting from long string (no SSO)
test(S("1234567890123456789012345678901234567890"), "", 0, S("1234567890123456789012345678901234567890"));
test(S("1234567890123456789012345678901234567890"), "a", 1, S("1234567890123456789012345678901234567890a"));
- test(S("1234567890123456789012345678901234567890"), "aaaaaaaaaa", 10, S("1234567890123456789012345678901234567890aaaaaaaaaa"));
+ test(S("1234567890123456789012345678901234567890"),
+ "aaaaaaaaaa",
+ 10,
+ S("1234567890123456789012345678901234567890aaaaaaaaaa"));
}
TEST_CONSTEXPR_CXX20 bool test() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/79292
More information about the libcxx-commits
mailing list