Fix crash when IntervalMapOverlaps::advanceTo moves past the last overlap.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 17 Dec 2010 19:18:38 +0000 (19:18 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 17 Dec 2010 19:18:38 +0000 (19:18 +0000)
commit4aec85ae01188f87e45e5e91baab4f303cbcd336
tree70c1d2c1852f26f6476fd10f789c98122988de6f
parenta3dbd3a2444f2531763ba05b64a30932542a631f
Fix crash when IntervalMapOverlaps::advanceTo moves past the last overlap.

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