[libc-commits] [libc] [libc] Fix accidental LIBC_NAMESPACE_syscall definition (PR #69548)

via libc-commits libc-commits at lists.llvm.org
Wed Oct 18 18:23:04 PDT 2023


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 8ff3e4f39b381bfc80f13af8d2c458395f22d642 2bcf846cbd31a17e5ded73ef7aab8d5c90fe1a5b -- libc/src/unistd/linux/syscall.cpp libc/src/unistd/syscall.h libc/test/src/unistd/syscall_test.cpp
``````````

</details>

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

``````````diff
diff --git a/libc/src/unistd/syscall.h b/libc/src/unistd/syscall.h
index a3a4b2cb0a7b..a41d9778e055 100644
--- a/libc/src/unistd/syscall.h
+++ b/libc/src/unistd/syscall.h
@@ -15,7 +15,7 @@
 namespace LIBC_NAMESPACE {
 
 long __llvm_libc_syscall(long number, long arg1, long arg2, long arg3,
-                            long arg4, long arg5, long arg6);
+                         long arg4, long arg5, long arg6);
 
 } // namespace LIBC_NAMESPACE
 

``````````

</details>


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


More information about the libc-commits mailing list