summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2013-12-22 12:04:23 +0000
committerYaron Keren <yaron.keren@gmail.com>2013-12-22 12:04:23 +0000
commit9758f4d2f83a66ef639d50a711b7ba11fa7e0d8d (patch)
tree93a60256342a1e4be179a2325ac3deac900daee5 /clang/lib/CodeGen/CodeGenFunction.h
parentbc1655b4b0f8031fd5a0b0653723a660bd06d5b7 (diff)
downloadbcm5719-llvm-9758f4d2f83a66ef639d50a711b7ba11fa7e0d8d.tar.gz
bcm5719-llvm-9758f4d2f83a66ef639d50a711b7ba11fa7e0d8d.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud