[libc-commits] [libc] [libc] Add proxy header for the stack_t type (PR #107559)

via libc-commits libc-commits at lists.llvm.org
Fri Sep 6 11:21:02 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 78e1e6ace6c99ac3c96216a40836a1ac98d4f000 8abad7468c876c664d151ae06a06bb5d98a2d9a9 --extensions h,cpp -- libc/hdr/types/stack_t.h libc/src/signal/linux/sigaltstack.cpp libc/src/signal/sigaltstack.h
``````````

</details>

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

``````````diff
diff --git a/libc/src/signal/linux/sigaltstack.cpp b/libc/src/signal/linux/sigaltstack.cpp
index 8fcf60be0a..c19394cd17 100644
--- a/libc/src/signal/linux/sigaltstack.cpp
+++ b/libc/src/signal/linux/sigaltstack.cpp
@@ -7,10 +7,10 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/signal/sigaltstack.h"
+#include "hdr/types/stack_t.h"
 #include "src/__support/macros/config.h"
 #include "src/errno/libc_errno.h"
 #include "src/signal/linux/signal_utils.h"
-#include "hdr/types/stack_t.h"
 
 #include "src/__support/common.h"
 

``````````

</details>


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


More information about the libc-commits mailing list