[cfe-commits] r117372 - in /cfe/trunk: lib/Sema/SemaLookup.cpp test/FixIt/typo.m
Frits van Bommel
fvbommel at gmail.com
Wed Oct 27 00:48:56 PDT 2010
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.
More information about the cfe-commits
mailing list