silence some warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63662 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp
index 39b782c..c8ecc17 100644
--- a/lib/Sema/SemaLookup.cpp
+++ b/lib/Sema/SemaLookup.cpp
@@ -258,7 +258,7 @@
FBegin = FoundOverloaded->function_begin(),
FEnd = FoundOverloaded->function_end();
// FIXME: This is O(n^2)!
- for (DI ; DI < DEnd; ++DI) {
+ for (; DI < DEnd; ++DI) {
FunctionDecl *Fun = dyn_cast<FunctionDecl>(*DI);
if (Fun && (std::find(FBegin, FEnd, Fun) != FEnd)) { /* Skip.*/ }
else DEnd = std::remove(DI, DEnd, *DI);
@@ -1129,7 +1129,7 @@
Decl **DI = reinterpret_cast<Decl **>(Result.First),
**DEnd = reinterpret_cast<Decl **>(Result.Last);
- for (DI; DI != DEnd; ++DI)
+ for (; DI != DEnd; ++DI)
Diag((*DI)->getLocation(), diag::note_ambiguous_candidate)
<< getQualifiedName(*DI);