[Openmp-commits] [openmp] [Libomptarget] Remove global ctor and use reference counting (PR #80499)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 22 09:46:15 PST 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 9dbedcac1243e8e99103bdff37da51dded67b766 ec4a76a80c4ef67f517fe42bc52d22628ceb9693 -- openmp/libomptarget/test/offloading/runtime_init.c openmp/libomptarget/include/PluginManager.h openmp/libomptarget/include/omptarget.h openmp/libomptarget/src/OffloadRTL.cpp openmp/libomptarget/src/PluginManager.cpp openmp/libomptarget/src/interface.cpp
``````````

</details>

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

``````````diff
diff --git a/openmp/libomptarget/test/offloading/runtime_init.c b/openmp/libomptarget/test/offloading/runtime_init.c
index 9ceafaf6b6..e6cc7c3f38 100644
--- a/openmp/libomptarget/test/offloading/runtime_init.c
+++ b/openmp/libomptarget/test/offloading/runtime_init.c
@@ -1,5 +1,6 @@
 // RUN: %libomptarget-compile-generic
-// RUN:   env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic
+// RUN:   env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 |
+// %fcheck-generic
 
 // REQUIRES: libomptarget-debug
 

``````````

</details>


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


More information about the Openmp-commits mailing list