llvm-6502/include/llvm/ADT
David Blaikie e570687bd8 Ensure SmallVector::insert doesn't overwrite the last element in the range with the already-moved-from value
This would cause the last element in a range to be in a moved-from state
after an insert at a non-end position, losing that value entirely in the
process.

Side note: move_backward is subtle. It copies [A, B) to C-1 and down.
(the fact that it decrements both the second and third iterators before
the first movement is the subtle part... kind of surprising, anyway)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210426 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-08 16:00:02 +00:00
..
APFloat.h
APInt.h
APSInt.h
ArrayRef.h
BitVector.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h
edit_distance.h
EquivalenceClasses.h [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
FoldingSet.h
GraphTraits.h
Hashing.h Remove unused field hash_state::seed. 2014-04-30 21:12:17 +00:00
ilist_node.h [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
ilist.h
ImmutableList.h
ImmutableMap.h [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
ImmutableSet.h [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h Implement one operator== with another. 2014-06-03 15:06:22 +00:00
iterator_range.h
iterator.h [ADT] Provide some helpful static_asserts for using operations of the 2014-04-30 00:49:32 +00:00
MapVector.h
None.h
Optional.h
OwningPtr.h [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
PackedVector.h
PointerIntPair.h
PointerUnion.h [ADT] Teach PointerUnion to support assignment directly from nullptr to 2014-04-29 00:14:27 +00:00
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h SCC: Use the reference typedef 2014-04-25 20:52:08 +00:00
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h
SmallSet.h
SmallString.h
SmallVector.h Ensure SmallVector::insert doesn't overwrite the last element in the range with the already-moved-from value 2014-06-08 16:00:02 +00:00
SparseBitVector.h
SparseMultiSet.h
SparseSet.h
Statistic.h
STLExtras.h Attempt to placate compilers that warn on casts between pointer-to-object and 2014-05-23 01:22:46 +00:00
StringExtras.h
StringMap.h Missed formatting 2014-05-08 21:53:33 +00:00
StringRef.h
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h ADT: introduce isWindowsItaniumEnvironment 2014-06-06 22:46:18 +00:00
Twine.h [ADT] Delete the Twine assignment operator 2014-05-29 17:12:05 +00:00
UniqueVector.h
VariadicFunction.h