[libcxx-commits] [libcxx] [libcxx] fix includes for explicit Clang module build (PR #126474)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Feb 9 23:11:54 PST 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 70fdd9f0a24154b63169c66aff1ddc4507db6034 1ffa955ed94bc3ff07798904efde5d35123aa23f --extensions cpp,h -- libcxx/include/__filesystem/path.h libcxx/include/__vector/vector_bool.h libcxx/src/condition_variable.cpp libcxx/src/experimental/time_zone.cpp libcxx/src/filesystem/directory_iterator.cpp libcxx/src/filesystem/error.h libcxx/src/filesystem/filesystem_clock.cpp libcxx/src/filesystem/filesystem_error.cpp libcxx/src/include/ryu/common.h libcxx/src/memory.cpp libcxx/src/memory_resource.cpp libcxx/src/mutex.cpp libcxx/src/random.cpp libcxx/src/ryu/d2fixed.cpp libcxx/src/ryu/d2s.cpp libcxx/src/ryu/f2s.cpp libcxx/src/thread.cpp libcxx/src/vector.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/src/filesystem/filesystem_clock.cpp b/libcxx/src/filesystem/filesystem_clock.cpp
index 2335d048b3..b149e5b6f8 100644
--- a/libcxx/src/filesystem/filesystem_clock.cpp
+++ b/libcxx/src/filesystem/filesystem_clock.cpp
@@ -9,9 +9,9 @@
#include <__config>
#include <__system_error/throw_system_error.h>
#include <chrono>
+#include <errno.h>
#include <filesystem>
#include <ratio>
-#include <errno.h>
#include <time.h>
#if defined(_LIBCPP_WIN32API)
``````````
</details>
https://github.com/llvm/llvm-project/pull/126474
More information about the libcxx-commits
mailing list