llvm-6502/unittests/ADT
Duncan P. N. Exon Smith d9ebc5991b ADT: Fix MapVector::erase()
Actually update the changed indexes in the map portion of `MapVector`
when erasing from the middle.  Add a unit test that checks for this.

Note that `MapVector::erase()` is a linear time operation (it was and
still is).  I'll commit a new method in a moment called
`MapVector::remove_if()` that deletes multiple entries in linear time,
which should be slightly less painful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213084 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-15 18:32:30 +00:00
..
APFloatTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
APIntTest.cpp
APSIntTest.cpp
ArrayRefTest.cpp ADT: Add a drop_back() helper to ArrayRef 2014-07-05 06:12:30 +00:00
BitVectorTest.cpp
CMakeLists.txt Remove OwningPtr.h and associated tests 2014-06-19 07:25:18 +00:00
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp Fix some -Wsign-compare fallout from changing container count member functions to return unsigned instead of bool. 2014-06-20 19:54:13 +00:00
DenseSetTest.cpp Fix some -Wsign-compare fallout from changing container count member functions to return unsigned instead of bool. 2014-06-20 19:54:13 +00:00
FoldingSet.cpp
HashingTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
ilistTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
ImmutableMapTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp
Makefile
MakeUniqueTest.cpp
MapVectorTest.cpp ADT: Fix MapVector::erase() 2014-07-15 18:32:30 +00:00
OptionalTest.cpp
PackedVectorTest.cpp
PointerIntPairTest.cpp
PointerUnionTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
SCCIteratorTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
SmallPtrSetTest.cpp
SmallStringTest.cpp
SmallVectorTest.cpp SmallVectorTest: Make the deleted member functions private to help MSVC users. 2014-06-11 17:50:14 +00:00
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp
SparseSetTest.cpp
StringMapTest.cpp Recommit 211309 (StringMap::insert), reverted in 211328 due to issues with private, but non-deleted, move members. 2014-06-23 18:28:53 +00:00
StringRefTest.cpp
TinyPtrVectorTest.cpp
TripleTest.cpp Move the API and implementation of clang::driver::getARMCPUForMArch() to llvm::Triple::getARMCPUForArch(). 2014-07-11 21:44:54 +00:00
TwineTest.cpp
VariadicFunctionTest.cpp