Implement C++ [temp.func.order]p5 more directly, by passing down the
authorDouglas Gregor <dgregor@apple.com>
Tue, 11 Jan 2011 17:34:58 +0000 (17:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 11 Jan 2011 17:34:58 +0000 (17:34 +0000)
commit5c7bf42ef16dc767615bed10f3b7b3c1265314e1
tree69fd356498539a04b77d9ff49a499bedea8ca231
parent29dd67bc59249adef304827d68b094f5b5cfc645
Implement C++ [temp.func.order]p5 more directly, by passing down the
number of explicit call arguments. This actually fixes an erroneous
test for [temp.deduct.partial]p11, where we were considering
parameters corresponding to arguments beyond those that were
explicitly provided.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123244 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p11.cpp