diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-10 22:59:25 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-09-10 22:59:25 +0000 |
commit | 35e1da259fcfbe24d0c8ce2cfd438313c58ffc78 (patch) | |
tree | e984f733acdeb7b83bc57b7f6dd52ee2d46ea3dd /clang/lib/Sema/SemaOverload.cpp | |
parent | dc41d791f9949f8674d8709b35c72ea1e4168ae9 (diff) | |
download | bcm5719-llvm-35e1da259fcfbe24d0c8ce2cfd438313c58ffc78.tar.gz bcm5719-llvm-35e1da259fcfbe24d0c8ce2cfd438313c58ffc78.zip |
getMostSpecialized for function template sets is never used in the context of a
call; remove its 'number of explicit arguments' and 'what kind of call'
parameters.
llvm-svn: 190444
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
-rw-r--r-- | clang/lib/Sema/SemaOverload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 7e4e17ba9ef..ea4fe10eac1 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -9491,7 +9491,7 @@ private: // TODO: It looks like FailedCandidates does not serve much purpose // here, since the no_viable diagnostic has index 0. UnresolvedSetIterator Result = S.getMostSpecialized( - MatchesCopy.begin(), MatchesCopy.end(), FailedCandidates, TPOC_Other, 0, + MatchesCopy.begin(), MatchesCopy.end(), FailedCandidates, SourceExpr->getLocStart(), S.PDiag(), S.PDiag(diag::err_addr_ovl_ambiguous) << Matches[0] .second->getDeclName(), |