llvm-6502/include/llvm/ADT
Frits van Bommel c48e1ef0e2 Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters.
They mostly mirror the ArrayRef constructors, with two exceptions:
 * There's no function mirroring the default constructor because it wouldn't have any parameters to deduce the right ArrayRef<T> from.
 * There's an explicit SmallVector<T> overload in addition to the SmallVectorImpl<T> overload. Without it, the single-element overload would try to create an ArrayRef<Smallvector<T> > because it's a better match according to the overloading rules. (And both overloads are used in the current tree, so neither is redundant)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135389 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-18 11:58:53 +00:00
..
APFloat.h Add an APFloat::convertToInt(APSInt) function that automatically manages the 2011-07-15 07:04:56 +00:00
APInt.h add option for literal formatting to APInt::toString() 2011-06-15 00:51:55 +00:00
APSInt.h
ArrayRef.h Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters. 2011-07-18 11:58:53 +00:00
BitVector.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Fix more -Wnon-pod-memset warnings. 2011-04-28 08:17:08 +00:00
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h
EquivalenceClasses.h
FoldingSet.h Remove redundant template partial specilization. 2011-05-16 12:42:22 +00:00
GraphTraits.h
ilist_node.h
ilist.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
ImmutableIntervalMap.h Give ImmutableIntervalMap.h an include guard. 2011-04-24 15:46:46 +00:00
ImmutableList.h Add ImmutableList::contains(). Patch by Rui Paulo! 2011-07-06 21:59:48 +00:00
ImmutableMap.h
ImmutableSet.h
IndexedMap.h
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h
NullablePtr.h
Optional.h
OwningPtr.h
PackedVector.h Constify PackedVector::reference::operator T(). 2011-06-15 19:18:13 +00:00
PointerIntPair.h
PointerUnion.h
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h
SmallSet.h
SmallString.h
SmallVector.h Fix a subtle issue in SmallVector. The following code did not work as expected: 2011-07-06 22:36:59 +00:00
SparseBitVector.h
Statistic.h
STLExtras.h
StringExtras.h Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
StringMap.h The key of a StringMap can contain nul's in it, so having first() return 2011-07-14 18:31:43 +00:00
StringRef.h Add asserts in StringRef to make sure we avoid undefined behavior: 2011-05-20 19:24:12 +00:00
StringSet.h
StringSwitch.h
TinyPtrVector.h add iteration support to TinyPtrVector for clang's use. 2011-07-18 01:53:11 +00:00
Trie.h
Triple.h Remove the confusing getDarwinNumber() api and friends. 2011-07-02 00:19:55 +00:00
Twine.h
UniqueVector.h
ValueMap.h
VectorExtras.h