diff options
| -rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index aede1809c38..44d457e1e1d 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -4098,7 +4098,7 @@ TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName, // Abort if typo correction already failed for this specific typo. IdentifierSourceLocations::iterator locs = TypoCorrectionFailures.find(Typo); if (locs != TypoCorrectionFailures.end() && - locs->second.count(TypoName.getLoc()) > 0) + locs->second.count(TypoName.getLoc())) return TypoCorrection(); // Don't try to correct the identifier "vector" when in AltiVec mode. |

