Silencing an MSVC warning; SmallSet::count returns a bool instead of a size_t.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192043 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp
index aede180..44d457e 100644
--- a/lib/Sema/SemaLookup.cpp
+++ b/lib/Sema/SemaLookup.cpp
@@ -4098,7 +4098,7 @@
// 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.