Skip to content

Commit 8f765e4

Browse files
committed
formatting
1 parent 7de870c commit 8f765e4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lldb/include/lldb/Breakpoint/BreakpointLocationCollection.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ class BreakpointLocationCollection {
175175
mutable std::mutex m_collection_mutex;
176176
/// These are used if we're preserving breakpoints in this list:
177177
const bool m_preserving_bkpts = false;
178-
std::map<std::pair<lldb::break_id_t, lldb::break_id_t>, lldb::BreakpointSP> m_preserved_bps;
178+
std::map<std::pair<lldb::break_id_t, lldb::break_id_t>, lldb::BreakpointSP>
179+
m_preserved_bps;
179180

180181
public:
181182
typedef llvm::iterator_range<collection::const_iterator>

lldb/source/Breakpoint/BreakpointLocationCollection.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ void BreakpointLocationCollection::Add(const BreakpointLocationSP &bp_loc) {
3333
lldb::break_id_t bp_loc_id = bp_loc->GetID();
3434
Breakpoint &bkpt = bp_loc->GetBreakpoint();
3535
lldb::break_id_t bp_id = bkpt.GetID();
36-
std::pair<lldb::break_id_t, lldb::break_id_t> key
37-
= std::make_pair(bp_id, bp_loc_id);
36+
std::pair<lldb::break_id_t, lldb::break_id_t> key =
37+
std::make_pair(bp_id, bp_loc_id);
3838
auto entry = m_preserved_bps.find(key);
3939
if (entry == m_preserved_bps.end())
4040
m_preserved_bps.emplace(key, bkpt.shared_from_this());
@@ -48,8 +48,8 @@ bool BreakpointLocationCollection::Remove(lldb::break_id_t bp_id,
4848
collection::iterator pos = GetIDPairIterator(bp_id, bp_loc_id); // Predicate
4949
if (pos != m_break_loc_collection.end()) {
5050
if (m_preserving_bkpts) {
51-
std::pair<lldb::break_id_t, lldb::break_id_t> key
52-
= std::make_pair(bp_id, bp_loc_id);
51+
std::pair<lldb::break_id_t, lldb::break_id_t> key =
52+
std::make_pair(bp_id, bp_loc_id);
5353
auto entry = m_preserved_bps.find(key);
5454
if (entry == m_preserved_bps.end())
5555
assert(0 && "Breakpoint added to collection but not preserving map.");

0 commit comments

Comments
 (0)