[libc-commits] [libc] [libc] Add the implementation of the fdopen function (PR #94186)
via libc-commits
libc-commits at lists.llvm.org
Mon Jun 3 10:57:58 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 718331f55529469586c99a55e4b382a1c7485842 6460fbaed3017c2de20e8d1d39b6431315ed81ca -- libc/src/stdio/fdopen.h libc/src/stdio/linux/fdopen.cpp libc/test/src/stdio/fdopen_test.cpp libc/src/fcntl/linux/fcntl.cpp libc/test/src/fcntl/fcntl_test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/test/src/stdio/fdopen_test.cpp b/libc/test/src/stdio/fdopen_test.cpp
index 399321b2bf..cfbd83e649 100644
--- a/libc/test/src/stdio/fdopen_test.cpp
+++ b/libc/test/src/stdio/fdopen_test.cpp
@@ -59,9 +59,7 @@ TEST(LlvmLibcStdioFdopenTest, InvalidMode) {
ASSERT_TRUE(nullptr == fp2);
}
-TEST(LlvmLibcStdioFdopenTest, WriteRead) {
-
-}
+TEST(LlvmLibcStdioFdopenTest, WriteRead) {}
TEST(LlvmLibcStdioFdopenTest, Append) {}
``````````
</details>
https://github.com/llvm/llvm-project/pull/94186
More information about the libc-commits
mailing list