Attempt to fix buildbot failure on Windows.

llvm-svn: 142008
This commit is contained in:
Eli Friedman 2011-10-14 21:52:24 +00:00
parent 7b749ea79b
commit e2c600cf43
1 changed files with 2 additions and 1 deletions

View File

@ -7511,7 +7511,8 @@ struct CompareOverloadCandidatesForDisplay {
if (L->DeductionFailure.Result != R->DeductionFailure.Result)
return RankDeductionFailure(L->DeductionFailure)
<= RankDeductionFailure(R->DeductionFailure);
}
} else if (R->FailureKind == ovl_fail_bad_deduction)
return false;
// TODO: others?
}