diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2013-12-22 12:04:23 +0000 |
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2013-12-22 12:04:23 +0000 |
| commit | 9758f4d2f83a66ef639d50a711b7ba11fa7e0d8d (patch) | |
| tree | 93a60256342a1e4be179a2325ac3deac900daee5 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | bc1655b4b0f8031fd5a0b0653723a660bd06d5b7 (diff) | |
| download | bcm5719-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

