[Openmp-commits] [openmp] [clang] [Clang][OpenMP] Fix mapping of structs to device (PR #75642)

via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 15 11:02:56 PST 2023


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 29ee66f4a0967e43a035f147c960743c7b640f2f 2dc40b67e55985de4e9e89758d6c65eb73faac02 -- clang/test/OpenMP/map_struct_ordering.cpp openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp clang/lib/CodeGen/CGOpenMPRuntime.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp b/openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp
index 38b6b3e48a..cecafe4c58 100644
--- a/openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp
+++ b/openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp
@@ -112,4 +112,3 @@ int main() {
 
   return 0;
 }
-

``````````

</details>


https://github.com/llvm/llvm-project/pull/75642


More information about the Openmp-commits mailing list