[libclc] [libclc] Move relational functions to the CLC library (PR #115171)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 07:16:53 PST 2024


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 5d8be4c036aa5ce4a94f1f37a9155d5c877e23db 97ace17c59193fe29e9bdce4c6f53be398f15d01 --extensions h,inc -- libclc/clc/include/clc/clc_as_type.h libclc/clc/include/clc/relational/clc_all.h libclc/clc/include/clc/relational/clc_any.h libclc/clc/include/clc/relational/clc_bitselect.h libclc/clc/include/clc/relational/clc_bitselect.inc libclc/clc/include/clc/relational/clc_isequal.h libclc/clc/include/clc/relational/clc_isfinite.h libclc/clc/include/clc/relational/clc_isgreater.h libclc/clc/include/clc/relational/clc_isgreaterequal.h libclc/clc/include/clc/relational/clc_isinf.h libclc/clc/include/clc/relational/clc_isless.h libclc/clc/include/clc/relational/clc_islessequal.h libclc/clc/include/clc/relational/clc_islessgreater.h libclc/clc/include/clc/relational/clc_isnan.h libclc/clc/include/clc/relational/clc_isnormal.h libclc/clc/include/clc/relational/clc_isnotequal.h libclc/clc/include/clc/relational/clc_isordered.h libclc/clc/include/clc/relational/clc_isunordered.h libclc/clc/include/clc/relational/clc_select.h libclc/clc/include/clc/relational/clc_select.inc libclc/clc/include/clc/relational/clc_signbit.h libclc/clc/include/clc/relational/relational.h libclc/clc/lib/generic/relational/clc_bitselect.inc libclc/clc/lib/generic/relational/clc_select.inc libclc/generic/lib/relational/binary_def.inc libclc/generic/lib/relational/unary_def.inc libclc/clc/include/clc/internal/clc.h libclc/generic/include/clc/relational/any.h libclc/clc/include/clc/relational/binary_decl.inc libclc/clc/include/clc/relational/floatn.inc libclc/clc/include/clc/relational/unary_decl.inc
``````````

</details>

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

``````````diff
diff --git a/libclc/clc/include/clc/relational/binary_decl.inc b/libclc/clc/include/clc/relational/binary_decl.inc
index c9e4aee839..2e4b4fde1e 100644
--- a/libclc/clc/include/clc/relational/binary_decl.inc
+++ b/libclc/clc/include/clc/relational/binary_decl.inc
@@ -1 +1,2 @@
-_CLC_OVERLOAD _CLC_DECL __CLC_INTN __CLC_FUNCTION(__CLC_FLOATN a, __CLC_FLOATN b);
+_CLC_OVERLOAD _CLC_DECL __CLC_INTN __CLC_FUNCTION(__CLC_FLOATN a,
+                                                  __CLC_FLOATN b);

``````````

</details>


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


More information about the cfe-commits mailing list