[libc-commits] [libc] [libc] Make struct ifreq compatible with linux/if.h (PR #225793)
via libc-commits
libc-commits at lists.llvm.org
Thu Oct 15 04:56:40 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {cmake-format}-->
:warning: CMake code formatter, cmake-format found issues in your code. :warning:
<details>
<summary>
You can fix this locally with the following command:
</summary>
``````````bash
python3 libc/utils/cmake_format.py -i libc/test/include/net/CMakeLists.txt libc/test/include/net/linux/CMakeLists.txt libc/include/llvm-libc-types/CMakeLists.txt libc/include/llvm-libc-types/linux/CMakeLists.txt libc/test/include/CMakeLists.txt
``````````
You can also preview the formatting diff without modifying files:
``````````bash
python3 libc/utils/cmake_format.py --dry-run --diff libc/test/include/net/CMakeLists.txt libc/test/include/net/linux/CMakeLists.txt libc/include/llvm-libc-types/CMakeLists.txt libc/include/llvm-libc-types/linux/CMakeLists.txt libc/test/include/CMakeLists.txt
``````````
</details>
<details>
<summary>
View the diff from cmake-format here.
</summary>
``````````diff
--- a/libc/test/include/net/CMakeLists.txt
+++ b/libc/test/include/net/CMakeLists.txt
@@ -1,4 +1,3 @@
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
add_subdirectory(${LIBC_TARGET_OS})
endif()
-
--- a/libc/test/include/net/linux/CMakeLists.txt
+++ b/libc/test/include/net/linux/CMakeLists.txt
@@ -9,4 +9,3 @@
libc.include.net_if
libc.include.sys_socket
)
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/225793
More information about the libc-commits
mailing list