llvm-6502/include/llvm/ADT
Chandler Carruth ba1f580f33 Move the SmallVector unit tests to be type-parameterized so that we can
test more than a single instantiation of SmallVector.

Add testing for 0, 1, 2, and 4 element sized "small" buffers. These
appear to be essentially untested in the unit tests until now.

Fix several tests to be robust in the face of a '0' small buffer. As
a consequence of this size buffer, the growth patterns are actually
observable in the test -- yes this means that many tests never caused
a grow to occur before. For some tests I've merely added a reserve call
to normalize behavior. For others, the growth is actually interesting,
and so I captured the fact that growth would occur and adjusted the
assertions to not assume how rapidly growth occured.

Also update the specialization for a '0' small buffer length to have all
the same interface points as the normal small vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161001 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-30 22:17:52 +00:00
..
APFloat.h
APInt.h APInt: Simplify code. 2012-07-29 12:33:29 +00:00
APSInt.h Add operator== to APSInt. This will compare the signed bit before doing 2012-07-23 20:24:23 +00:00
ArrayRef.h Use the most basic superclass of SmallVector in ArrayRef. 2012-04-28 16:22:26 +00:00
BitVector.h Provide move semantics for (Small)BitVector. 2012-06-01 18:52:53 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Micro-optimize this function a bit. This shrinks the generated code 2012-07-03 07:16:13 +00:00
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
edit_distance.h
EquivalenceClasses.h
FoldingSet.h Add a FoldingSetVector datastructure which is analogous to a SetVector, 2012-05-03 23:38:34 +00:00
GraphTraits.h
Hashing.h Hashing: Remove outdated comment. Support for reserved hash values was removed in r151865. 2012-06-09 15:33:28 +00:00
ilist_node.h
ilist.h
ImmutableIntervalMap.h
ImmutableList.h
ImmutableMap.h
ImmutableSet.h Remove tabs. 2012-07-18 23:58:37 +00:00
IndexedMap.h
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h IntrusiveRefCntPtr: Simplify operator= as suggested by Richard Smith. 2012-05-31 22:25:25 +00:00
NullablePtr.h
Optional.h
OwningPtr.h
PackedVector.h
PointerIntPair.h Allow PointerIntPairs to be created from const void *. 2012-07-18 21:58:49 +00:00
PointerUnion.h Fixed few warnings. 2012-07-13 21:06:54 +00:00
PostOrderIterator.h Fix broken ipo_ext_iterator constructors. 2012-07-17 17:57:25 +00:00
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h Merge the SmallBitVector and BitVector unit tests with gtest's typed test magic and bring SmallBitVector up to date. 2012-06-16 10:51:07 +00:00
SmallPtrSet.h
SmallSet.h
SmallString.h stop hiding SmallVector's append that takes a count + element. 2012-04-21 21:02:03 +00:00
SmallVector.h Move the SmallVector unit tests to be type-parameterized so that we can 2012-07-30 22:17:52 +00:00
SparseBitVector.h
SparseSet.h
Statistic.h
STLExtras.h Remove 'static' from inline functions defined in header files. 2012-06-20 08:39:33 +00:00
StringExtras.h
StringMap.h
StringRef.h Add doxygen comments. 2012-05-11 23:34:39 +00:00
StringSet.h
StringSwitch.h
TinyPtrVector.h add some helper methods to make the type more uniform. 2012-05-28 01:29:59 +00:00
Trie.h
Triple.h Remove tabs. 2012-07-18 23:58:37 +00:00
Twine.h
UniqueVector.h
ValueMap.h Disambiguate call to operator==. 2012-05-19 19:32:11 +00:00
VariadicFunction.h