[Openmp-commits] [openmp] [OpenMP] Allow to specify what plugins to look for (PR #74538)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Dec 5 17:13:03 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 e68c265543722af32821eab2c77565d37079da47 0428f046c554dd7cb5dfaa71ee7c8f587ff0ca9f -- openmp/libomptarget/src/PluginManager.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/libomptarget/src/PluginManager.cpp b/openmp/libomptarget/src/PluginManager.cpp
index 873790e487..44549d6856 100644
--- a/openmp/libomptarget/src/PluginManager.cpp
+++ b/openmp/libomptarget/src/PluginManager.cpp
@@ -22,9 +22,7 @@ using namespace llvm::sys;
PluginManager *PM;
// List of all plugins that can support offloading.
-static const char *RTLNames[] = {
- ENABLED_OFFLOAD_PLUGINS
-};
+static const char *RTLNames[] = {ENABLED_OFFLOAD_PLUGINS};
PluginAdaptorTy::PluginAdaptorTy(const std::string &Name) : Name(Name) {
DP("Attempting to load library '%s'...\n", Name.c_str());
``````````
</details>
https://github.com/llvm/llvm-project/pull/74538
More information about the Openmp-commits
mailing list