[Lldb-commits] [PATCH] D106263: [lldb] Make WatchpointList iterable

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 19 09:27:39 PDT 2021


JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks!



================
Comment at: lldb/include/lldb/Breakpoint/WatchpointList.h:193
 
+  WatchpointIterable Watchpoints() const {
+    return WatchpointIterable(m_watchpoints, m_mutex);
----------------
mgorny wrote:
> NB: I needed to make a `const` variant since it's used in some `const` context (below). However, it doesn't seem that a non-`const` variant is needed at all but this is above my pay grade ;-).
Haha :-D 


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

https://reviews.llvm.org/D106263



More information about the lldb-commits mailing list