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 HEAD~1 HEAD --extensions h,cl,inc -- 
libclc/clc/lib/generic/math/clc_fract.cl 
libclc/clc/lib/generic/math/clc_fract.inc 
libclc/generic/include/clc/math/fract.h libclc/generic/lib/math/fract.cl 
libclc/clc/include/clc/math/clc_fract.h
``````````

</details>

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

``````````diff
diff --git a/libclc/clc/lib/generic/math/clc_fract.cl 
b/libclc/clc/lib/generic/math/clc_fract.cl
index 1a0c5ab7a..7db43ef87 100644
--- a/libclc/clc/lib/generic/math/clc_fract.cl
+++ b/libclc/clc/lib/generic/math/clc_fract.cl
@@ -10,8 +10,8 @@
 #include <clc/internal/clc.h>
 #include <clc/math/clc_floor.h>
 #include <clc/math/clc_fmin.h>
-#include <clc/relational/clc_isnan.h>
 #include <clc/relational/clc_isinf.h>
+#include <clc/relational/clc_isnan.h>
 
 #define __CLC_BODY <clc_fract.inc>
 #include <clc/math/gentype.inc>

``````````

</details>


https://github.com/llvm/llvm-project/pull/137785
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to