Add test case with randomly ordered insertions, massive coalescing.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 27 Nov 2010 21:12:36 +0000 (21:12 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 27 Nov 2010 21:12:36 +0000 (21:12 +0000)
commitb0b7214fc90febbbe71e1e989130194ce2b70a36
tree5a833e5deba39f6e43500c3e48cd12ded972d610
parent5bf7c534cf057a52f30624743841fadd241c4dbb
Add test case with randomly ordered insertions, massive coalescing.

Implement iterator::erase() in a simple version that erases nodes when they
become empty, but doesn't try to redistribute elements among siblings for better
packing.

Handle coalescing across leaf nodes which may require erasing entries.

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