When producing a name of a partial specialization in a diagnostic, use the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 24 Dec 2016 04:09:05 +0000 (04:09 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 24 Dec 2016 04:09:05 +0000 (04:09 +0000)
commit12d117c5a579a98494429a21cb7963d018d595a5
tree8768c7a441fbaf6bbf57d12aec92cb6a2953a729
parent617e92abfaf3a05522249898750e4ccc2f523674
When producing a name of a partial specialization in a diagnostic, use the
template arguments as written rather than the canonical template arguments,
so we print more user-friendly names for template parameters.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290483 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/TemplateBase.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/DeclTemplate.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
test/CXX/temp/temp.spec/temp.expl.spec/examples.cpp
test/Modules/cxx-templates.cpp
test/SemaTemplate/deduction.cpp
test/SemaTemplate/instantiation-default-1.cpp
test/SemaTemplate/ms-class-specialization-class-scope.cpp