Remove copy-pasted and unrelated comment [NFC]
authorRaphael Isemann <teemperor@gmail.com>
Fri, 10 Aug 2018 21:31:44 +0000 (21:31 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 10 Aug 2018 21:31:44 +0000 (21:31 +0000)
That comment was copied from the
CombineConsecutiveEntriesWithEqualData() implementation below,
and doesn't actually describe what's happening in the current
function.

llvm-svn: 339473

lldb/include/lldb/Core/RangeMap.h

index 45bda26e2659276ee064a399ba4bad1c2cce8439..ab73f603877298ad420ce6786bbf64f975e22788 100644 (file)
@@ -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)