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.

llvm-svn: 339473
This commit is contained in:
Raphael Isemann 2018-08-10 21:31:44 +00:00
parent e1687a89e8
commit 4b2e0b6c32
1 changed files with 0 additions and 2 deletions

View File

@ -169,8 +169,6 @@ public:
#ifdef ASSERT_RANGEMAP_ARE_SORTED #ifdef ASSERT_RANGEMAP_ARE_SORTED
bool IsSorted() const { bool IsSorted() const {
typename Collection::const_iterator pos, end, prev; 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; for (pos = m_entries.begin(), end = m_entries.end(), prev = end; pos != end;
prev = pos++) { prev = pos++) {
if (prev != end && *pos < *prev) if (prev != end && *pos < *prev)