[libc-commits] [libc] [libcxx] [llvm] [libcxx][libc] Hand in Hand PoC with from_chars (PR #91651)
via libc-commits
libc-commits at lists.llvm.org
Mon Aug 5 11:33: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 eb03279ddcc4bb655021101f0038ece2cec3158a 1e2f1df27045b9999d941799b38e27154dc42649 --extensions ,cpp,h -- libc/shared/str_to_float.h libcxx/include/__charconv/from_chars_floating_point.h libcxx/src/include/from_chars_floating_point.h libcxx/test/std/utilities/charconv/charconv.from.chars/float.pass.cpp libcxx/include/__configuration/availability.h libcxx/include/charconv libcxx/src/charconv.cpp libcxx/test/support/charconv_test_helpers.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/src/include/from_chars_floating_point.h b/libcxx/src/include/from_chars_floating_point.h
index d40a230b88..c768e5bae1 100644
--- a/libcxx/src/include/from_chars_floating_point.h
+++ b/libcxx/src/include/from_chars_floating_point.h
@@ -17,8 +17,8 @@
#include <cctype>
#include <charconv>
#include <concepts>
-#include <limits>
#include <cstring>
+#include <limits>
#include <type_traits>
// Included for the _Floating_type_traits class
``````````
</details>
https://github.com/llvm/llvm-project/pull/91651
More information about the libc-commits
mailing list