summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-10-05 19:56:07 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-10-05 19:56:07 +0000
commit7fc6e1bc59784906fe75fc957f0ee06355b90aa3 (patch)
tree9c72277873b57a5d8edf3cb66ec3423f3f722f76
parent3cab3740b6a7e0a0dbb739de7c3cf50b060dbe6e (diff)
downloadbcm5719-llvm-7fc6e1bc59784906fe75fc957f0ee06355b90aa3.tar.gz
bcm5719-llvm-7fc6e1bc59784906fe75fc957f0ee06355b90aa3.zip
Silencing an MSVC warning; SmallSet::count returns a bool instead of a size_t.
llvm-svn: 192043
-rw-r--r--clang/lib/Sema/SemaLookup.cpp2
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.
OpenPOWER on IntegriCloud