diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-10-14 21:52:24 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-10-14 21:52:24 +0000 |
commit | 1c522f7c35ced263528896705cbeddf0aac30a19 (patch) | |
tree | 9a24015123d53eafd6273b444ee0bb3b01abecdb /lib/Sema/SemaOverload.cpp | |
parent | d9b0fdf2641ee3ef6d8c6a78bbc0a76083b7a553 (diff) |
Attempt to fix buildbot failure on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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? } |