[Openmp-commits] [openmp] [OpenMP][NFC] Remove `DelayedBinDesc` (PR #74360)
via Openmp-commits
openmp-commits at lists.llvm.org
Mon Dec 4 11:20:21 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 c4cebe5b4489438185236881ce3d6eaaa23b0e7b d6dc8b8d11292e40bb72bcde5b84868cddeabf83 -- openmp/libomptarget/include/PluginManager.h openmp/libomptarget/src/interface.cpp openmp/libomptarget/src/rtl.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/libomptarget/include/PluginManager.h b/openmp/libomptarget/include/PluginManager.h
index 2473e39de3..326197e85d 100644
--- a/openmp/libomptarget/include/PluginManager.h
+++ b/openmp/libomptarget/include/PluginManager.h
@@ -106,7 +106,6 @@ struct PluginManager {
HostPtrToTableMapTy HostPtrToTableMap;
std::mutex TblMapMtx; ///< For HostPtrToTableMap
-
int getNumDevices() {
std::lock_guard<decltype(RTLsMtx)> Lock(RTLsMtx);
return Devices.size();
``````````
</details>
https://github.com/llvm/llvm-project/pull/74360
More information about the Openmp-commits
mailing list