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

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 7 18:41:08 PST 2019


JDevlieghere created this revision.
JDevlieghere added a reviewer: davide.

I was looking at the code in BreakpointList.cpp and found it deserved a quick cleanup.

- Extract duplicate code
- Use range-based for loop
- Use early return in loops


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D56425

Files:
  source/Breakpoint/BreakpointList.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56425.180602.patch
Type: text/x-patch
Size: 5046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190108/febbe847/attachment.bin>


More information about the lldb-commits mailing list