[libc-commits] [libc] [libc][patch 2/n] provide _malloc_thread_cleanup option (PR #133730)
via libc-commits
libc-commits at lists.llvm.org
Mon Mar 31 08:17:52 PDT 2025
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 HEAD~1 HEAD --extensions h,cpp -- libc/test/integration/src/__support/threads/double_exit_test.cpp libc/test/integration/src/__support/threads/main_exit_test.cpp libc/test/integration/src/__support/threads/malloc_cleanup_test.cpp libc/src/__support/threads/linux/thread.cpp libc/src/__support/threads/thread.cpp libc/src/__support/threads/thread.h libc/src/stdlib/atexit.cpp libc/src/stdlib/exit.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/test/integration/src/__support/threads/malloc_cleanup_test.cpp b/libc/test/integration/src/__support/threads/malloc_cleanup_test.cpp
index f294c2b2f..a11c3926a 100644
--- a/libc/test/integration/src/__support/threads/malloc_cleanup_test.cpp
+++ b/libc/test/integration/src/__support/threads/malloc_cleanup_test.cpp
@@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "src/__support/threads/thread.h"
+#include "src/stdlib/_Exit.h"
#include "src/stdlib/atexit.h"
#include "src/stdlib/exit.h"
-#include "src/stdlib/_Exit.h"
#include "test/IntegrationTest/test.h"
bool cxa_dtor_called = false;
``````````
</details>
https://github.com/llvm/llvm-project/pull/133730
More information about the libc-commits
mailing list