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 origin/main HEAD --extensions cpp,h,c --
clang/lib/Frontend/InitPreprocessor.cpp clang/lib/Headers/stdint.h
clang/test/Preprocessor/init-aarch64.c clang/test/Preprocessor/init-riscv.c
clang/test/Preprocessor/init.c --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Headers/stdint.h b/clang/lib/Headers/stdint.h
index 2471b6e38..07c325421 100644
--- a/clang/lib/Headers/stdint.h
+++ b/clang/lib/Headers/stdint.h
@@ -807,14 +807,14 @@ typedef __UINTMAX_TYPE__ uintmax_t;
/* C99 7.18.3 Limits of other integer types. */
#define SIG_ATOMIC_MIN __SIG_ATOMIC_MIN__
#define SIG_ATOMIC_MAX __SIG_ATOMIC_MAX__
-#define WINT_MIN __WINT_MIN__
-#define WINT_MAX __WINT_MAX__
+#define WINT_MIN __WINT_MIN__
+#define WINT_MAX __WINT_MAX__
#ifndef WCHAR_MAX
# define WCHAR_MAX __WCHAR_MAX__
#endif
#ifndef WCHAR_MIN
-# define WCHAR_MIN __WCHAR_MIN__
+#define WCHAR_MIN __WCHAR_MIN__
#endif
/* 7.18.4.2 Macros for greatest-width integer constants. */
``````````
</details>
https://github.com/llvm/llvm-project/pull/208135
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits