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 de68294b4dd31370773cb7a976b2d59e0e8b9bcc 1ba1735702376bfb46b96d819ab141f1c841263a -- clang/lib/Headers/float.h clang/test/Headers/float.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Headers/float.h b/clang/lib/Headers/float.h index a0cfeb1286..bbcc61d872 100644 --- a/clang/lib/Headers/float.h +++ b/clang/lib/Headers/float.h @@ -47,8 +47,8 @@ (defined(__cplusplus) && __cplusplus >= 201103L) || \ (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE)) # undef DECIMAL_DIG -# undef INFINITY -# undef NAN +#undef INFINITY +#undef NAN # endif # undef FLT_DIG # undef DBL_DIG @@ -159,9 +159,9 @@ #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || \ !defined(__STRICT_ANSI__) - /* C23 5.2.5.3.3p29-30 */ -# define INFINITY (__builtin_inf()) -# define NAN (__builtin_nan("")) +/* C23 5.2.5.3.3p29-30 */ +#define INFINITY (__builtin_inf()) +#define NAN (__builtin_nan("")) #endif #ifdef __STDC_WANT_IEC_60559_TYPES_EXT__ `````````` </details> https://github.com/llvm/llvm-project/pull/96659 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits