llvm-6502/lib
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
..
Analysis [ValueTracking] Extend range metadata to call/invoke 2014-06-19 16:50:16 +00:00
AsmParser
Bitcode Revert a C API difference that I incorrectly introduced. 2014-06-18 20:07:35 +00:00
CodeGen The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
DebugInfo
ExecutionEngine Replace Execution Engine's mutex with std::recursive_mutex. 2014-06-18 20:17:35 +00:00
IR The count() function for STL datatypes returns unsigned, even where it's 2014-06-20 10:26:56 +00:00
IRReader
LineEditor
Linker
LTO Use the assignment operator. 2014-06-19 22:27:46 +00:00
MC Fix up a few formatting issues. 2014-06-19 20:00:09 +00:00
Object Change the output of llvm-nm and llvm-size for Mach-O universal files (aka 2014-06-19 22:03:18 +00:00
Option ArgList: use MakeArgList overloads in subclasses and clean up some calls. 2014-06-20 04:36:29 +00:00
ProfileData
Support Fix .cpp files claiming to be header files 2014-06-20 01:36:00 +00:00
TableGen Convert some assert(0) to llvm_unreachable or fold an 'if' condition into the assert. 2014-06-19 06:10:58 +00:00
Target Emit the ARM build attributes ABI_PCS_wchar_t and ABI_enum_size. 2014-06-20 10:08:11 +00:00
Transforms Add Support to Recognize and Vectorize NON SIMD instructions in SLPVectorizer. 2014-06-20 04:32:48 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile