From: Eli Friedman Date: Fri, 14 Oct 2011 21:52:24 +0000 (+0000) Subject: Attempt to fix buildbot failure on Windows. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c522f7c35ced263528896705cbeddf0aac30a19;p=clang Attempt to fix buildbot failure on Windows. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142008 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 2f47a1ee3d..76d39d946c 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -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? }