<div dir="rtl"><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">The count() function for STL datatypes returns unsigned, even where it's only 1/0 result like std::set. Some of the LLVM <span class="" style="background-color:rgb(255,255,204)">ADT</span> already return unsigned count(), while others still return bool count(). </div>

<div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.800000190734863px">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.</div>

<div class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px"></div><div class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px" dir="ltr"><br></div><div class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px" dir="ltr">

Yaron</div><div class="" style="font-family:arial,sans-serif;font-size:12.800000190734863px" dir="ltr"><br></div></div>