[libc-commits] [libc] [libc] Add functions to send/recv messages (PR #106467)

via libc-commits libc-commits at lists.llvm.org
Wed Aug 28 16:16:13 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 1bc7057a8eb7400dfbb1fc8335efa41abab9884e 46510503182d6ccc3c1c10765e127eab1fcc38e6 --extensions h,cpp -- libc/include/llvm-libc-types/struct_iovec.h libc/include/llvm-libc-types/struct_msghdr.h libc/src/sys/socket/accept.h libc/src/sys/socket/connect.h libc/src/sys/socket/linux/accept.cpp libc/src/sys/socket/linux/connect.cpp libc/src/sys/socket/linux/listen.cpp libc/src/sys/socket/linux/recv.cpp libc/src/sys/socket/linux/recvfrom.cpp libc/src/sys/socket/linux/recvmsg.cpp libc/src/sys/socket/linux/send.cpp libc/src/sys/socket/linux/sendmsg.cpp libc/src/sys/socket/linux/sendto.cpp libc/src/sys/socket/listen.h libc/src/sys/socket/recv.h libc/src/sys/socket/recvfrom.h libc/src/sys/socket/recvmsg.h libc/src/sys/socket/send.h libc/src/sys/socket/sendmsg.h libc/src/sys/socket/sendto.h libc/test/src/sys/socket/linux/send_test.cpp libc/test/src/sys/socket/linux/sendmsg_test.cpp libc/test/src/sys/socket/linux/sendto_test.cpp libc/src/sys/socket/linux/bind.cpp
``````````

</details>

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

``````````diff
diff --git a/libc/test/src/sys/socket/linux/sendmsg_test.cpp b/libc/test/src/sys/socket/linux/sendmsg_test.cpp
index b00a271b54..90e6cd8098 100644
--- a/libc/test/src/sys/socket/linux/sendmsg_test.cpp
+++ b/libc/test/src/sys/socket/linux/sendmsg_test.cpp
@@ -1 +1 @@
-TODO: TESTS
+TODO : TESTS
diff --git a/libc/test/src/sys/socket/linux/sendto_test.cpp b/libc/test/src/sys/socket/linux/sendto_test.cpp
index b00a271b54..90e6cd8098 100644
--- a/libc/test/src/sys/socket/linux/sendto_test.cpp
+++ b/libc/test/src/sys/socket/linux/sendto_test.cpp
@@ -1 +1 @@
-TODO: TESTS
+TODO : TESTS

``````````

</details>


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


More information about the libc-commits mailing list