[Lldb-commits] [PATCH] D56425: [BreakpointList] Simplify/modernize BreakpointList (NFC)

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 8 13:45:02 PST 2019


JDevlieghere marked 10 inline comments as done.
JDevlieghere added inline comments.


================
Comment at: source/Breakpoint/BreakpointList.cpp:200
   size_t curr_i = 0;
-  for (pos = m_breakpoints.begin(), curr_i = 0; pos != end; ++pos, ++curr_i) {
+  for (const auto &bp_sp : m_breakpoints) {
     if (curr_i == i)
----------------
aprantl wrote:
> separate commit?
I'm happy to split it up but since I'm touching so much already might as well merge it into a single change. 


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

https://reviews.llvm.org/D56425





More information about the lldb-commits mailing list