<div dir="rtl"><div dir="ltr">In SemaLookup.cpp, line 4102 the test is somewhat wrong, as count (surprisingly given its name) return a boolean and not an integer.</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">

<font face="courier new, monospace">      locs->second.count(TypoName.getLoc()) > 0)</font></div><div dir="ltr"><br></div></div><div dir="ltr">A patch is attached.</div><div dir="ltr"><br></div><div dir="ltr">I think this count function should be renamed to exists to better reflect its function.</div>

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