]> granicus.if.org Git - clang/commit
Improve 'failed template argument deduction' diagnostic for the case where we
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 31 Jan 2013 05:19:49 +0000 (05:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 31 Jan 2013 05:19:49 +0000 (05:19 +0000)
commit29805ca6d278b4d9563adfee67f2478f0fecdcfc
tree6103fe65ccc1fd85a434739449974a76ec470f58
parent626799b2903a2ab7f58ed82f10153bad4e0f1b7f
Improve 'failed template argument deduction' diagnostic for the case where we
have a direct mismatch between some component of the template and some
component of the argument. The diagnostic now says what the mismatch was, but
doesn't yet say which part of the template doesn't match.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174039 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
include/clang/Sema/TemplateDeduction.h
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/basic.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p1-0x.cpp
test/SemaCXX/c99-variable-length-array.cpp
test/SemaTemplate/instantiate-init.cpp
test/SemaTemplate/operator-template.cpp
test/SemaTemplate/recursive-template-instantiation.cpp