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 hpp,cpp -- offload/liboffload/src/Helpers.hpp offload/liboffload/src/OffloadImpl.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/offload/liboffload/src/OffloadImpl.cpp b/offload/liboffload/src/OffloadImpl.cpp index c84bf0146..4ca32d2e0 100644 --- a/offload/liboffload/src/OffloadImpl.cpp +++ b/offload/liboffload/src/OffloadImpl.cpp @@ -291,7 +291,8 @@ Error olGetDeviceInfoImplDetail(ol_device_handle_t Device, return Info.write<void *>(Device->Platform); if (PropName == OL_DEVICE_INFO_TYPE) return Info.write<ol_device_type_t>(OL_DEVICE_TYPE_GPU); - // TODO: Update when https://github.com/llvm/llvm-project/pull/147314 is merged + // TODO: Update when https://github.com/llvm/llvm-project/pull/147314 is + // merged if (PropName > OL_DEVICE_INFO_MAX_WORK_GROUP_SIZE) return createOffloadError(ErrorCode::INVALID_ENUMERATION, "getDeviceInfo enum '%i' is invalid", PropName); `````````` </details> https://github.com/llvm/llvm-project/pull/147318 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits