<div dir="rtl"><div dir="ltr">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(). </div>

<div dir="ltr"><br></div><div dir="ltr">This patch modifies SmallPtrSet, SmallSet, SparseSet :: count() to return unsigned instead of bool, 1 instead of true and 0 instead of false.</div><div dir="ltr"><br></div><div dir="ltr">

Yaron</div><div dir="ltr"><br></div></div>