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 unsigned instead of bool, 1 instead of true and 0 instead of false.
Updated upatch to ToT, fixed comments and two warnings.
It's common to write a "does this container contain this thing" as simply boolean testing the result of 'count':
assert(FnDebugInfo.count(GV));
Personally this is easier for me to read because I don't have to worry about "is this container a multimap and are they testing that there's /exactly/ one element" (and writing it as "> 0" when it's a single map is also a little confusing, even though it's semantically equivalent to the non-zero count test above)
Not a requirement, just a though - maybe others feel more strongly.