llvm-6502/include/llvm/ADT
Chris Lattner 823eb1ca11 Fix an obscure bug in PointerUnion that would bite PointerUnion3/4. Basically,
when checking isNull(), we'd pick off the sentinel bit for the outer 
PointerUnion, but would not recursively convert the inner pointerunion to bool,
so if *its* sentinel bit is set, isNull() would incorrectly return false.

No testcase, because someone hit this when they were trying to refactor code
to use PointerUnion3, but they since found a better solution.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137428 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-12 04:31:38 +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 APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future ambiguity 2011-07-18 21:45:40 +00:00
APSInt.h
ArrayRef.h Omit explicit length here, now that I've had a chance to test this with gcc. 2011-07-24 09:53:46 +00:00
BitVector.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Add a generic 'capacity_in_bytes' function to allow inspection of memory usage of various data structures. 2011-07-27 18:40:45 +00:00
DenseMapInfo.h In DenseMapInfo<pair<T, U>> tombstone key, use the tombstone for T and U instead 2011-07-28 06:48:33 +00:00
DenseSet.h Initialize DenseSets lazily. 2011-07-21 23:03:59 +00:00
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 Fix an obscure bug in PointerUnion that would bite PointerUnion3/4. Basically, 2011-08-12 04:31:38 +00:00
PostOrderIterator.h An interface for iterating over a loop's blocks in DFS order. 2011-08-03 23:27:28 +00:00
PriorityQueue.h
SCCIterator.h This file was moved from Support to ADT. Correct a comment. 2011-07-28 08:36:22 +00:00
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h
SmallSet.h
SmallString.h
SmallVector.h Add a generic 'capacity_in_bytes' function to allow inspection of memory usage of various data structures. 2011-07-27 18:40:45 +00:00
SparseBitVector.h
Statistic.h
STLExtras.h move tier out of an anonymous namespace, it doesn't make sense 2011-07-21 06:21:31 +00:00
StringExtras.h Add a std::string Wrapper for TableGen 2011-07-29 19:06:58 +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 various cleanups noticed by Frits 2011-07-18 16:35:57 +00:00
Trie.h
Triple.h Teach the Triple class about kfreebsd (FreeBSD kernel with 2011-07-26 15:30:04 +00:00
Twine.h Add Twine support for characters, and switch twine to use a union internally 2011-07-24 20:44:30 +00:00
UniqueVector.h
ValueMap.h
VectorExtras.h