llvm-6502/include/llvm/ADT
Yaron Keren ed4e8a839f The count() function for STL datatypes returns unsigned, even where it's
only 1/0 result like std::set. Some of the LLVM ADT already return unsigned
count(), while others still return bool count().

In continuation to r197879, this patch modifies DenseMap, DenseSet, 
ScopedHashTable, ValueMap:: count() to return size_type instead of bool,
1 instead of true and 0 instead of false.

size_type is typedef-ed locally within each class to size_t.

http://reviews.llvm.org/D4018

Reviewed by dblaikie.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211350 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-20 10:26:56 +00:00
..
APFloat.h
APInt.h
APSInt.h ADT: correct typo in comment 2014-06-18 18:08:55 +00:00
ArrayRef.h
BitVector.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
DenseMapInfo.h
DenseSet.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
DepthFirstIterator.h
edit_distance.h
EquivalenceClasses.h
FoldingSet.h Add specialization of FoldingSetTrait for std::pair. 2014-06-15 14:42:25 +00:00
GraphTraits.h
Hashing.h Using llvm::sys::swapByteOrder() for the common case of byte-swapping a value in place 2014-06-14 13:18:07 +00:00
ilist_node.h
ilist.h
ImmutableList.h
ImmutableMap.h
ImmutableSet.h
IndexedMap.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h
iterator_range.h
iterator.h
MapVector.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
None.h
Optional.h
PackedVector.h
PointerIntPair.h
PointerUnion.h
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
SetOperations.h
SetVector.h
SmallBitVector.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
SmallPtrSet.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
SmallSet.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
SmallString.h
SmallVector.h
SparseBitVector.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
SparseMultiSet.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
SparseSet.h The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
Statistic.h
STLExtras.h
StringExtras.h
StringMap.h Revert "Add StringMap::insert(pair) consistent with the standard associative container concept." 2014-06-20 00:23:03 +00:00
StringRef.h
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h
Twine.h
UniqueVector.h
VariadicFunction.h