[Openmp-commits] [openmp] [OpenMP] Start organizing PluginManager, PluginAdaptors (PR #73875)
via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 29 16:12:19 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 2e7f47d4a8a5206fbc565d3eb8c1595c2cb875f8 625a461801d921817e333785e3ce9930a5277973 -- openmp/libomptarget/include/PluginManager.h openmp/libomptarget/src/PluginManager.cpp openmp/libomptarget/include/device.h openmp/libomptarget/include/rtl.h openmp/libomptarget/src/OpenMP/InteropAPI.cpp openmp/libomptarget/src/api.cpp openmp/libomptarget/src/device.cpp openmp/libomptarget/src/interface.cpp openmp/libomptarget/src/omptarget.cpp openmp/libomptarget/src/rtl.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/libomptarget/src/rtl.cpp b/openmp/libomptarget/src/rtl.cpp
index 6248acff68..3687208670 100644
--- a/openmp/libomptarget/src/rtl.cpp
+++ b/openmp/libomptarget/src/rtl.cpp
@@ -115,7 +115,8 @@ void PluginAdaptorManagerTy::loadRTLs() {
DP("RTLs loaded!\n");
}
-bool PluginAdaptorManagerTy::attemptLoadRTL(const std::string &RTLName, PluginAdaptorTy &RTL) {
+bool PluginAdaptorManagerTy::attemptLoadRTL(const std::string &RTLName,
+ PluginAdaptorTy &RTL) {
const char *Name = RTLName.c_str();
DP("Loading library '%s'...\n", Name);
``````````
</details>
https://github.com/llvm/llvm-project/pull/73875
More information about the Openmp-commits
mailing list