[Openmp-commits] [PATCH] D109007: [libomptarget] Move HostDataToTargetTy states into StatesTy

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 31 12:35:25 PDT 2021


ye-luo marked an inline comment as done.
ye-luo added inline comments.


================
Comment at: openmp/libomptarget/src/device.h:60
+    StatesTy(const StatesTy &S) : RefCount(S.RefCount) {}
+    /// use mutable to allow modification via std::set iterator which is const.
+    uint64_t RefCount;
----------------
grokos wrote:
> Outdated comment, `RefCount` is no longer mutable.
Good catch. Updated.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109007/new/

https://reviews.llvm.org/D109007



More information about the Openmp-commits mailing list