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 h,cl --
clang/lib/Headers/opencl-c.h clang/test/SemaOpenCL/intel-subgroups-builtins.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/clang/lib/Headers/opencl-c.h b/clang/lib/Headers/opencl-c.h
index 5d06df89a..78d145353 100644
--- a/clang/lib/Headers/opencl-c.h
+++ b/clang/lib/Headers/opencl-c.h
@@ -17553,10 +17553,14 @@ uint4 __ovld __conv
intel_sub_group_block_read_ui4( const __global uint* p
uint8 __ovld __conv intel_sub_group_block_read_ui8( const __global uint*
p );
#if defined(__opencl_c_images)
-void __ovld __conv intel_sub_group_block_write_ui(write_only image2d_t,
int2, uint);
-void __ovld __conv intel_sub_group_block_write_ui2(write_only image2d_t,
int2, uint2);
-void __ovld __conv intel_sub_group_block_write_ui4(write_only image2d_t,
int2, uint4);
-void __ovld __conv intel_sub_group_block_write_ui8(write_only image2d_t,
int2, uint8);
+void __ovld __conv intel_sub_group_block_write_ui(write_only image2d_t, int2,
+ uint);
+void __ovld __conv intel_sub_group_block_write_ui2(write_only image2d_t, int2,
+ uint2);
+void __ovld __conv intel_sub_group_block_write_ui4(write_only image2d_t, int2,
+ uint4);
+void __ovld __conv intel_sub_group_block_write_ui8(write_only image2d_t, int2,
+ uint8);
#endif // defined(__opencl_c_images)
#if defined(__opencl_c_read_write_images)
``````````
</details>
https://github.com/llvm/llvm-project/pull/199232
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits