llvm-6502/include/llvm/ADT
Meador Inge 35b1423ee6 ADT: Correct APInt::getActiveWords for zero values
PR15138 was opened because of a segfault in the Bitcode writer.
The actual issue ended up being a bug in APInt where calls to
APInt::getActiveWords returns a bogus value when the APInt value
is 0.  This patch fixes the problem by ensuring that getActiveWords
returns 1 for 0 valued APInts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174641 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07 18:36:50 +00:00
..
APFloat.h
APInt.h ADT: Correct APInt::getActiveWords for zero values 2013-02-07 18:36:50 +00:00
APSInt.h
ArrayRef.h
BitVector.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h
edit_distance.h
EquivalenceClasses.h
FoldingSet.h
GraphTraits.h
Hashing.h
ilist_node.h
ilist.h
ImmutableIntervalMap.h
ImmutableList.h
ImmutableMap.h
ImmutableSet.h
IndexedMap.h
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h
MapVector.h
NullablePtr.h
Optional.h
OwningPtr.h
PackedVector.h
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
SparseBitVector.h
SparseMultiSet.h
SparseSet.h
Statistic.h
STLExtras.h
StringExtras.h
StringMap.h
StringRef.h
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h
Twine.h
UniqueVector.h
ValueMap.h
VariadicFunction.h