[libc-commits] [libc] [libc] newhdrgen: updated sorting of guarded functions in fuction generation (PR #98241)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 9 16:26:27 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 3f83a69bcb2c6b5fa3efbc41d1822e6fa69a6620 a0f229abf93c9a6da208e559ca227409e19ec683 -- libc/newhdrgen/tests/output/math.h
``````````

</details>

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

``````````diff
diff --git a/libc/newhdrgen/tests/output/math.h b/libc/newhdrgen/tests/output/math.h
index 3f9ebc5ff8..6e144e99fd 100644
--- a/libc/newhdrgen/tests/output/math.h
+++ b/libc/newhdrgen/tests/output/math.h
@@ -28,9 +28,9 @@
 #define __LIBC_CONST_ATTR
 #endif
 
-#include <llvm-libc-types/float_t.h>
 #include <llvm-libc-types/double_t.h>
 #include <llvm-libc-types/float128.h>
+#include <llvm-libc-types/float_t.h>
 
 __BEGIN_C_DECLS
 

``````````

</details>


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


More information about the libc-commits mailing list