1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/include/llvm/ADT
Yaron Keren 22d81b823e The count() function for STL datatypes returns unsigned, even
where it's only bool-like 1/0 result like std::set.count(). 

Some of the LLVM ADT already return unsigned count(), while
others return bool count().

This patch modifies SmallPtrSet, SmallSet, SparseSet count()
to return unsigned instead of bool:

 1 instead of true
 0 instead of false

More ADT to follow. 

llvm-svn: 197879
2013-12-22 12:04:23 +00:00
..
APFloat.h
APInt.h Remove APInt::extractBit since it is already implemented via operator[]. Change tests for extractBit to test operator[]. 2013-12-13 22:00:19 +00:00
APSInt.h Annotate APInt methods where it's not clear whether they are in place with warn_unused_result. 2013-11-16 16:25:41 +00:00
ArrayRef.h ADT: Implement MutableArrayRef::reverse_iterator 2013-12-09 09:04:00 +00:00
BitVector.h Fix a buffer overrun detected by AddressSanitizer. 2013-12-19 02:35:26 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Rehash but don't grow when full of tombstones. 2013-10-30 15:10:54 +00:00
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h
edit_distance.h
EquivalenceClasses.h
FoldingSet.h
GraphTraits.h
Hashing.h
ilist_node.h
ilist.h Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
ImmutableIntervalMap.h
ImmutableList.h
ImmutableMap.h
ImmutableSet.h Add ImmutableSet profiling info for 'bool'. 2013-11-08 17:23:49 +00:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h
MapVector.h
None.h
Optional.h
OwningPtr.h
PackedVector.h
PointerIntPair.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
PointerUnion.h
polymorphic_ptr.h Fix a null pointer dereference when copying a null polymorphic pointer. 2013-11-13 02:48:20 +00:00
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h [PM] [cleanup] Replace a reserved identifier "_Self" with the injected 2013-11-26 22:36:41 +00:00
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
SmallSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
SmallString.h
SmallVector.h Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
SparseBitVector.h Correct word hyphenations 2013-12-05 05:44:44 +00:00
SparseMultiSet.h
SparseSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
Statistic.h
STLExtras.h Provide basic type safety for array_pod_sort comparators. 2013-09-22 14:09:50 +00:00
StringExtras.h
StringMap.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
StringRef.h Add {start,end}with_lower methods to StringRef. 2013-10-30 18:32:26 +00:00
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h Recognize EABIHF as environment and use it for RTAPI + VFP. 2013-12-16 18:51:28 +00:00
Twine.h
UniqueVector.h
ValueMap.h
VariadicFunction.h