[cfe-commits] r117372 - in /cfe/trunk: lib/Sema/SemaLookup.cpp test/FixIt/typo.m

Douglas Gregor dgregor at apple.com
Wed Oct 27 07:22:24 PDT 2010


On Oct 27, 2010, at 12:48 AM, Frits van Bommel wrote:

> On Tue, Oct 26, 2010 at 7:18 PM, Douglas Gregor <dgregor at apple.com> wrote:
>>   if (ED > 0 && Typo->getName().size() / ED < 3) {
>>     // If this was an unqualified lookup, note that no correction was found.
>> -    if (IsUnqualifiedLookup)
>> +    if (IsUnqualifiedLookup && ED > 0)
> 
> ED > 0 was already checked in the containing if statement.

Fixed, thanks!

  - Doug



More information about the cfe-commits mailing list