[libcxx-commits] [libcxx] [libc++][string] Add regression test for sized new/delete bug (PR #110210)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 30 10:47:28 PDT 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 139688a699f6db784bd559b147334f1d51314f9c d9d53b961a6fecfe748c09f1cbfb2c0c9b036665 --extensions cpp -- libcxx/test/std/strings/basic.string/string.capacity/deallocate_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.capacity/deallocate_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.capacity/deallocate_size.pass.cpp
index 8556b31fa6..1203b2f3ec 100644
--- a/libcxx/test/std/strings/basic.string/string.capacity/deallocate_size.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.capacity/deallocate_size.pass.cpp
@@ -61,6 +61,6 @@ int main(int, char**) {
   test<uint32_t>();
   test<uint64_t>();
   test<size_t>();
-  
+
   return 0;
 }

``````````

</details>


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


More information about the libcxx-commits mailing list