[libclc] [libclc] Move fract to the CLC library (PR #137785)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 29 03:48:56 PDT 2025
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
More information about the cfe-commits
mailing list