[llvm] [libc] [reland][libc] add epoll_wait functions (PR #79635)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 16:36:22 PST 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 59f05239dbbc2c37d9de2bf638a64e1e9abd9163 93b0f08b918c9f89cf692b3ec6c24e51a3899baf -- libc/include/llvm-libc-types/struct_epoll_data.h libc/include/llvm-libc-types/struct_epoll_event.h libc/src/sys/epoll/epoll_pwait.h libc/src/sys/epoll/epoll_pwait2.h libc/src/sys/epoll/epoll_wait.h libc/src/sys/epoll/linux/epoll_pwait.cpp libc/src/sys/epoll/linux/epoll_pwait2.cpp libc/src/sys/epoll/linux/epoll_wait.cpp libc/test/src/sys/epoll/linux/epoll_pwait2_test.cpp libc/test/src/sys/epoll/linux/epoll_pwait_test.cpp libc/test/src/sys/epoll/linux/epoll_wait_test.cpp libc/config/linux/syscall_numbers.h.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/include/llvm-libc-types/struct_epoll_event.h b/libc/include/llvm-libc-types/struct_epoll_event.h
index 997a94a585..edfa026fa9 100644
--- a/libc/include/llvm-libc-types/struct_epoll_event.h
+++ b/libc/include/llvm-libc-types/struct_epoll_event.h
@@ -11,7 +11,7 @@
#include <llvm-libc-types/struct_epoll_data.h>
-typedef struct epoll_event{
+typedef struct epoll_event {
__UINT32_TYPE__ events;
epoll_data_t data;
} epoll_event;
``````````
</details>
https://github.com/llvm/llvm-project/pull/79635
More information about the llvm-commits
mailing list