[libc-commits] [libc] [libc] Add stubs for 'strftime' function (PR #106631)

via libc-commits libc-commits at lists.llvm.org
Fri Aug 30 17:41:28 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 c53008de899653818b22c44eafd7e5eaab524e2b f56fde12778c0dac5223a30d471c9a88de05027b --extensions cpp,h -- libc/src/time/strftime.cpp libc/src/time/strftime.h libc/src/time/strftime_l.cpp libc/src/time/strftime_l.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libc/src/time/strftime.cpp b/libc/src/time/strftime.cpp
index e6ed691913..4fa8a7fc3e 100644
--- a/libc/src/time/strftime.cpp
+++ b/libc/src/time/strftime.cpp
@@ -9,8 +9,8 @@
 #include "src/time/strftime.h"
 #include "src/__support/common.h"
 #include "src/__support/macros/config.h"
-#include "src/time/time_utils.h"
 #include "src/errno/libc_errno.h"
+#include "src/time/time_utils.h"
 
 namespace LIBC_NAMESPACE_DECL {
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/106631


More information about the libc-commits mailing list