Silencing an MSVC warning; SmallSet::count returns a bool instead of a size_t.
llvm-svn: 192043
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp
index aede180..44d457e 100644
--- a/clang/lib/Sema/SemaLookup.cpp
+++ b/clang/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.