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 cpp,h,c --
clang/test/CodeGen/amdgpu-offload-uniform-block.c
clang/include/clang/Basic/LangOptions.h clang/lib/Basic/LangOptions.cpp
clang/lib/CodeGen/CGCall.cpp clang/test/CodeGen/amdgpu-abi-version.c
clang/test/CodeGen/amdgpu-address-spaces.cpp
clang/test/CodeGen/amdgpu-builtin-is-invocable-subarch.c
clang/test/CodeGen/amdgpu-builtin-is-invocable.c
clang/test/CodeGen/amdgpu-builtin-processor-is-subarch.c
clang/test/CodeGen/amdgpu-builtin-processor-is.c
clang/test/CodeGen/nvptx_attributes.c
clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
clang/test/CodeGenSYCL/function-attrs.cpp clang/test/Headers/gpuintrin.c
clang/test/OpenMP/amdgcn-attributes.cpp
clang/test/OpenMP/amdgcn_target_global_constructor.cpp
clang/test/OpenMP/amdgcn_weak_alias.c clang/test/OpenMP/amdgcn_weak_alias.cpp
--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/include/clang/Basic/LangOptions.h
b/clang/include/clang/Basic/LangOptions.h
index 83e3dae12..5886d3d51 100644
--- a/clang/include/clang/Basic/LangOptions.h
+++ b/clang/include/clang/Basic/LangOptions.h
@@ -823,7 +823,8 @@ public:
return OpenMPIsTargetDevice || CUDAIsDevice || SYCLIsDevice;
}
- /// Languages that launch full work-groups opt in; leftover groups are
OpenCL 2.0+.
+ /// Languages that launch full work-groups opt in; leftover groups are
+ /// OpenCL 2.0+.
bool defaultOffloadUniformBlock() const;
/// Return the OpenMP version.
``````````
</details>
https://github.com/llvm/llvm-project/pull/221279
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits