llvm-6502/include/llvm/ADT
Argyrios Kyrtzidis 6d5502eb49 Add asserts in StringRef to make sure we avoid undefined behavior:
-strlen should not be called with NULL. Also guarantee that StringRef's Length is 0 if Data is NULL.
-memcmp should not be called with NULL (even if size is 0)

Patch by Matthieu Monrocq!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131747 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-20 19:24:12 +00:00
..
APFloat.h
APInt.h
APSInt.h
ArrayRef.h Fix typo in comment. 2011-04-13 12:50:47 +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 drive by bug fix: DenseMapInfo::isEqual should be determined according to 2011-04-09 21:20:23 +00:00
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
ImmutableMap.h
ImmutableSet.h
IndexedMap.h
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h Add an InterferenceCache class for caching per-block interference ranges. 2011-04-02 06:03:35 +00:00
IntrusiveRefCntPtr.h IntrusiveRefCntPtr: in RefCountedBase and RefCountedBaseVPTR, make 2011-04-04 00:57:03 +00:00
NullablePtr.h
Optional.h
OwningPtr.h
PointerIntPair.h
PointerUnion.h
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h Prevent infinite growth of SmallPtrSet instances. 2011-03-30 18:32:48 +00:00
SmallSet.h
SmallString.h
SmallVector.h
SparseBitVector.h
Statistic.h
STLExtras.h
StringExtras.h Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
StringMap.h Remove unused STL header includes. 2011-04-23 19:53:52 +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
Trie.h
Triple.h Fix a comment. 2011-05-03 17:22:56 +00:00
Twine.h
UniqueVector.h
ValueMap.h
VectorExtras.h