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 c,cpp,h --
offload/test/offloading/info_level.c offload/include/Shared/Debug.h
offload/libompaccsupport/Mapping.cpp offload/libompaccsupport/device.cpp
offload/libomptarget/private.h offload/plugins-nextgen/amdgpu/src/rtl.cpp
offload/plugins-nextgen/common/src/RecordReplay.cpp
offload/plugins-nextgen/cuda/src/rtl.cpp
offload/test/offloading/info_category.c
offload/test/offloading/struct_mapping_with_pointers.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/offload/libompaccsupport/Mapping.cpp
b/offload/libompaccsupport/Mapping.cpp
index ee2a4201b..7e58eb3da 100644
--- a/offload/libompaccsupport/Mapping.cpp
+++ b/offload/libompaccsupport/Mapping.cpp
@@ -20,7 +20,7 @@ using namespace llvm::omp::target::debug;
/// Dump a table of all the host-target pointer pairs on failure
void dumpTargetPointerMappings(const ident_t *Loc, DeviceTy &Device,
bool toStdOut) {
-
+
uint32_t V = toStdOut ? 3 : INFO_VERBOSITY(OMP_INFOTYPE_DUMP_TABLE);
if (!V)
return;
``````````
</details>
https://github.com/llvm/llvm-project/pull/239768
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits