Implement const_iterator::advanceTo().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 28 Nov 2010 07:00:46 +0000 (07:00 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 28 Nov 2010 07:00:46 +0000 (07:00 +0000)
commit180e1247ca330b047eabafbc72926ce9bfd8bf8e
tree2bdc1c29ca91e4e0a59697de6d953bf402945134
parentb1dfa7a8e0c1972231bee636afd5239b009ba4da
Implement const_iterator::advanceTo().

This is a version of find() that always searches forwards and is faster for
local searches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120237 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/IntervalMap.h
unittests/ADT/IntervalMapTest.cpp