]> granicus.if.org Git - clang/commit
When template argument deduction fails because the call had too
authorDouglas Gregor <dgregor@apple.com>
Sat, 8 May 2010 18:13:28 +0000 (18:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 8 May 2010 18:13:28 +0000 (18:13 +0000)
commita18592ec62e898aed7ed71e1f09c314590ce9ec7
tree14e4766b0deeb8753d5c4e0629045d88b39b0a60
parenta933319ebf754396623165f9dc0a29c2a48879f5
When template argument deduction fails because the call had too
many/too few arguments, use the same diagnostic we use for arity
mismatches in non-templates (but note that it's a function template).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103341 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOverload.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p17.cpp