[Lldb-commits] [lldb] r339473 - Remove copy-pasted and unrelated comment [NFC]
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 10 14:31:44 PDT 2018
Author: teemperor
Date: Fri Aug 10 14:31:44 2018
New Revision: 339473
URL: http://llvm.org/viewvc/llvm-project?rev=339473&view=rev
Log:
Remove copy-pasted and unrelated comment [NFC]
That comment was copied from the
CombineConsecutiveEntriesWithEqualData() implementation below,
and doesn't actually describe what's happening in the current
function.
Modified:
lldb/trunk/include/lldb/Core/RangeMap.h
Modified: lldb/trunk/include/lldb/Core/RangeMap.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/RangeMap.h?rev=339473&r1=339472&r2=339473&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/RangeMap.h (original)
+++ lldb/trunk/include/lldb/Core/RangeMap.h Fri Aug 10 14:31:44 2018
@@ -169,8 +169,6 @@ public:
#ifdef ASSERT_RANGEMAP_ARE_SORTED
bool IsSorted() const {
typename Collection::const_iterator pos, end, prev;
- // First we determine if we can combine any of the Entry objects so we
- // don't end up allocating and making a new collection for no reason
for (pos = m_entries.begin(), end = m_entries.end(), prev = end; pos != end;
prev = pos++) {
if (prev != end && *pos < *prev)
More information about the lldb-commits
mailing list