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

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 19 04:20:30 PDT 2021


mgorny added inline comments.


================
Comment at: lldb/include/lldb/Breakpoint/WatchpointList.h:193
 
+  WatchpointIterable Watchpoints() const {
+    return WatchpointIterable(m_watchpoints, m_mutex);
----------------
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 ;-).


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

https://reviews.llvm.org/D106263



More information about the lldb-commits mailing list