[Openmp-commits] [openmp] [OpenMP] Fix ompx_dump_mapping_tables lit test (PR #85753)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Mar 19 01:39:25 PDT 2024
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 703920d4138d02bde4f4bf70ba809b63bef25c37 ed507006215559655507af62fdd80f6766b75d70 -- openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp b/openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
index 6b05cea73d..d928820462 100644
--- a/openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
+++ b/openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
@@ -9,7 +9,6 @@ int main() {
int *a = new __int32_t[N]; // mapped and released from device 0
int *b = new __int32_t[2 * N]; // mapped to device 0
-
// clang-format off
// CHECK: Mapping tables after target enter data:
// CHECK-NEXT: omptarget device 0 info: OpenMP Host-Device pointer mappings after block
``````````
</details>
https://github.com/llvm/llvm-project/pull/85753
More information about the Openmp-commits
mailing list