[libc-commits] [libc] [libc] Provide 'signal.h' header for the GPU (PR #101996)
via libc-commits
libc-commits at lists.llvm.org
Mon Aug 5 07:59:14 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 9fea73110ecc0a13d18e5c52f8e7fa62a9de9ee9 2cf2190dd9066af3818d4a62a27f415ecc1786d3 --extensions cpp,h -- libc/include/llvm-libc-macros/gpu/signal-macros.h libc/src/signal/gpu/raise.cpp libc/include/llvm-libc-macros/signal-macros.h libc/include/llvm-libc-types/rpc_opcodes_t.h libc/include/llvm-libc-types/struct_sigaction.h libc/utils/gpu/server/rpc_server.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/utils/gpu/server/rpc_server.cpp b/libc/utils/gpu/server/rpc_server.cpp
index f02a8dab17..3c07fe6b90 100644
--- a/libc/utils/gpu/server/rpc_server.cpp
+++ b/libc/utils/gpu/server/rpc_server.cpp
@@ -22,8 +22,8 @@
#include "src/stdio/gpu/file.h"
#include <algorithm>
#include <atomic>
-#include <cstdio>
#include <csignal>
+#include <cstdio>
#include <cstring>
#include <memory>
#include <mutex>
``````````
</details>
https://github.com/llvm/llvm-project/pull/101996
More information about the libc-commits
mailing list