We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450371c commit a698b19Copy full SHA for a698b19
lldb/include/lldb/Utility/RangeMap.h
@@ -497,6 +497,7 @@ class RangeDataVector {
497
m_entries.begin(), m_entries.end(), [](const Entry &a, const Entry &b) {
498
return a.DoesAdjoinOrIntersect(b) && a.data == b.data;
499
});
500
+
501
if (first_intersect == m_entries.end())
502
return;
503
@@ -512,8 +513,7 @@ class RangeDataVector {
512
513
minimal_ranges.push_back(*pos);
514
}
515
m_entries.swap(minimal_ranges);
- if (!m_entries.empty())
516
- ComputeUpperBounds(0, m_entries.size());
+ ComputeUpperBounds(0, m_entries.size());
517
518
519
void Clear() { m_entries.clear(); }
0 commit comments