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 cl,h -- 
libclc/clc/include/clc/relational/relational.h 
libclc/clc/lib/generic/relational/clc_isfinite.cl 
libclc/clc/lib/generic/relational/clc_isinf.cl 
libclc/clc/lib/generic/relational/clc_isnan.cl --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/libclc/clc/include/clc/relational/relational.h 
b/libclc/clc/include/clc/relational/relational.h
index 7b81e5bac..1d04d0bb0 100644
--- a/libclc/clc/include/clc/relational/relational.h
+++ b/libclc/clc/include/clc/relational/relational.h
@@ -49,19 +49,19 @@
                                      EXPR, ARG_TYPE)                           
\
   _CLC_DEF _CLC_OVERLOAD RET_TYPE __CLC_FUNCTION(ARG_TYPE x) { return EXPR; }  
\
   _CLC_DEF _CLC_OVERLOAD VEC_RET_TYPE##2 __CLC_FUNCTION(ARG_TYPE##2 x) {       
\
-    return EXPR;                                                              \
-  }                                                                           \
+    return EXPR;                                                               
\
+  }                                                                            
\
   _CLC_DEF _CLC_OVERLOAD VEC_RET_TYPE##3 __CLC_FUNCTION(ARG_TYPE##3 x) {       
\
-    return EXPR;                                                              \
-  }                                                                           \
+    return EXPR;                                                               
\
+  }                                                                            
\
   _CLC_DEF _CLC_OVERLOAD VEC_RET_TYPE##4 __CLC_FUNCTION(ARG_TYPE##4 x) {       
\
-    return EXPR;                                                              \
-  }                                                                           \
+    return EXPR;                                                               
\
+  }                                                                            
\
   _CLC_DEF _CLC_OVERLOAD VEC_RET_TYPE##8 __CLC_FUNCTION(ARG_TYPE##8 x) {       
\
-    return EXPR;                                                              \
-  }                                                                           \
+    return EXPR;                                                               
\
+  }                                                                            
\
   _CLC_DEF _CLC_OVERLOAD VEC_RET_TYPE##16 __CLC_FUNCTION(ARG_TYPE##16 x) {     
\
-    return EXPR;                                                              \
+    return EXPR;                                                               
\
   }
 
 #define fcNan (__FPCLASS_SNAN | __FPCLASS_QNAN)

``````````

</details>


https://github.com/llvm/llvm-project/pull/225351
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to