[libc-commits] [libc] [libc] Add proxy header for __sighandler_t type (PR #107354)

via libc-commits libc-commits at lists.llvm.org
Wed Sep 4 22:56:20 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 a1441ca74708a557606bf68d42fca40bb03dbd74 e8857837c71f438048ae36b0856749c7d07cb3e4 --extensions h,cpp -- libc/src/signal/linux/signal.cpp libc/src/signal/signal.h libc/test/src/signal/signal_test.cpp
``````````

</details>

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

``````````diff
diff --git a/libc/src/signal/signal.h b/libc/src/signal/signal.h
index 8bc04dd2c8..23ce2c9c94 100644
--- a/libc/src/signal/signal.h
+++ b/libc/src/signal/signal.h
@@ -9,8 +9,8 @@
 #ifndef LLVM_LIBC_SRC_SIGNAL_SIGNAL_H
 #define LLVM_LIBC_SRC_SIGNAL_SIGNAL_H
 
-#include "src/__support/macros/config.h"
 #include "include/llvm-libc-types/__sighandler_t.h"
+#include "src/__support/macros/config.h"
 
 namespace LIBC_NAMESPACE_DECL {
 

``````````

</details>


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


More information about the libc-commits mailing list