[libc-commits] [libc] [libc] Refactor kill syscall into syscall_wrappers (PR #237798)

via libc-commits libc-commits at lists.llvm.org
Sun Nov 1 16:59:00 PST 2026


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 origin/main HEAD --extensions cpp,h -- libc/src/__support/OSUtil/linux/syscall_wrappers/kill.h libc/src/signal/linux/kill.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/libc/src/__support/OSUtil/linux/syscall_wrappers/kill.h b/libc/src/__support/OSUtil/linux/syscall_wrappers/kill.h
index 9c8707626..198adcf9e 100644
--- a/libc/src/__support/OSUtil/linux/syscall_wrappers/kill.h
+++ b/libc/src/__support/OSUtil/linux/syscall_wrappers/kill.h
@@ -32,4 +32,3 @@ LIBC_INLINE ErrorOr<int> kill(pid_t pid, int sig) {
 } // namespace LIBC_NAMESPACE_DECL
 
 #endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_SYSCALL_WRAPPERS_KILL_H
-

``````````

</details>


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


More information about the libc-commits mailing list