[libc-commits] [libc] [libc] Include empty remove in baremetal stdio.h (PR #85336)
via libc-commits
libc-commits at lists.llvm.org
Thu Mar 14 16:37:49 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 4d62929852849f768d7397f634cfdebc85de96a4 b9482dead43823dc44dba5f7cefe1c2c96144de4 -- libc/src/stdio/baremetal/remove.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/stdio/baremetal/remove.cpp b/libc/src/stdio/baremetal/remove.cpp
index c1c834d139..ac26dcacee 100644
--- a/libc/src/stdio/baremetal/remove.cpp
+++ b/libc/src/stdio/baremetal/remove.cpp
@@ -15,8 +15,6 @@ namespace LIBC_NAMESPACE {
// TODO: See https://github.com/llvm/llvm-project/issues/85335 for more details
// on why this is needed.
-LLVM_LIBC_FUNCTION(int, remove, (const char *)) {
- return -1;
-}
+LLVM_LIBC_FUNCTION(int, remove, (const char *)) { return -1; }
} // namespace LIBC_NAMESPACE
``````````
</details>
https://github.com/llvm/llvm-project/pull/85336
More information about the libc-commits
mailing list