[libc-commits] [libc] [libc][stdio] Add fopen_s and bootstrap annex k. (PR #152248)
via libc-commits
libc-commits at lists.llvm.org
Sat Aug 9 07:25:51 PDT 2025
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 HEAD~1 HEAD --extensions cpp,h -- libc/hdr/types/constraint_handler_t.h libc/hdr/types/errno_t.h libc/include/llvm-libc-macros/annex-k-macros.h libc/include/llvm-libc-types/constraint_handler_t.h libc/include/llvm-libc-types/errno_t.h libc/include/llvm-libc-types/rsize_t.h libc/src/__support/annex_k/helper_macros.h libc/src/__support/annex_k/libc_constraint_handler.h libc/src/stdio/fopen_s.h libc/src/stdio/generic/fopen_s.cpp libc/src/stdlib/abort_handler_s.cpp libc/src/stdlib/abort_handler_s.h libc/src/stdlib/ignore_handler_s.cpp libc/src/stdlib/ignore_handler_s.h libc/src/stdlib/set_constraint_handler_s.cpp libc/src/stdlib/set_constraint_handler_s.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/stdio/generic/fopen_s.cpp b/libc/src/stdio/generic/fopen_s.cpp
index b7de9639e..bc6f3e7bd 100644
--- a/libc/src/stdio/generic/fopen_s.cpp
+++ b/libc/src/stdio/generic/fopen_s.cpp
@@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "src/stdio/fopen_s.h"
-#include "src/stdio/fopen.h"
#include "src/__support/annex_k/helper_macros.h"
#include "src/__support/macros/config.h"
+#include "src/stdio/fopen.h"
namespace LIBC_NAMESPACE_DECL {
``````````
</details>
https://github.com/llvm/llvm-project/pull/152248
More information about the libc-commits
mailing list