[libc-commits] [libc] [llvm] [libc] Add the digit property to numeric_limits (PR #73926)

via libc-commits libc-commits at lists.llvm.org
Thu Nov 30 04:16:07 PST 2023


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 1d20b009a0e274c0db518b0bca0dd5daabcc8754 26fd2d57ee1403eefa7641234990401d2927d0ed -- libc/src/__support/CPP/limits.h
``````````

</details>

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

``````````diff
diff --git a/libc/src/__support/CPP/limits.h b/libc/src/__support/CPP/limits.h
index 4503c009b5..e92ad00f80 100644
--- a/libc/src/__support/CPP/limits.h
+++ b/libc/src/__support/CPP/limits.h
@@ -9,8 +9,8 @@
 #ifndef LLVM_LIBC_SRC___SUPPORT_CPP_LIMITS_H
 #define LLVM_LIBC_SRC___SUPPORT_CPP_LIMITS_H
 
-#include "src/__support/CPP/type_traits/is_signed.h"
 #include "src/__support/CPP/type_traits/is_integral.h"
+#include "src/__support/CPP/type_traits/is_signed.h"
 #include "src/__support/macros/attributes.h" // LIBC_INLINE
 
 #include <limits.h> // CHAR_BIT

``````````

</details>


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


More information about the libc-commits mailing list