Skip to content

Commit e02b5d2

Browse files
committed
Fix warnings
1 parent 917f1e8 commit e02b5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaLookup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2879,15 +2879,15 @@ void Sema::DiagnoseAmbiguousLookup(LookupResult &Result) {
28792879
}
28802880
break;
28812881
}
2882-
#ifndef _WIN32
28832882
case LookupResult::AmbiguousReference: {
2883+
#ifndef _WIN32
28842884
Diag(NameLoc, diag::err_ambiguous_reference) << Name << LookupRange;
28852885

28862886
for (auto *D : Result)
28872887
Diag(D->getLocation(), diag::note_ambiguous_candidate) << D;
2888+
#endif
28882889
break;
28892890
}
2890-
#endif
28912891
}
28922892
}
28932893

0 commit comments

Comments
 (0)