diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2014-06-20 10:26:56 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2014-06-20 10:26:56 +0000 |
commit | 6d3194f7d568ea10923560b45cf81082bf313f4a (patch) | |
tree | 5b1b02cc3008fff96b713fd06cf7c4b3c7b16b73 /clang/lib/Sema/TreeTransform.h | |
parent | 5dc2934ba24e01994a2c34e388609f1007d4dca0 (diff) | |
download | bcm5719-llvm-6d3194f7d568ea10923560b45cf81082bf313f4a.tar.gz bcm5719-llvm-6d3194f7d568ea10923560b45cf81082bf313f4a.zip |
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.
llvm-svn: 211350
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
0 files changed, 0 insertions, 0 deletions