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 | e2c600cf4342a44dd490534a3d920dc56d017d5f (patch) | |
tree | 716dd3113d73e516eacdf6eae261e7199695a759 /clang/lib/Sema/SemaOverload.cpp | |
parent | 7b749ea79bada09c57460d4b0b41a407caa55626 (diff) | |
download | bcm5719-llvm-e2c600cf4342a44dd490534a3d920dc56d017d5f.tar.gz bcm5719-llvm-e2c600cf4342a44dd490534a3d920dc56d017d5f.zip |
Attempt to fix buildbot failure on Windows.
llvm-svn: 142008
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
-rw-r--r-- | clang/lib/Sema/SemaOverload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 2f47a1ee3d2..76d39d946c5 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/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? } |