When instantiating a deduction guide, transform its name.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 21 Dec 2017 19:43:39 +0000 (19:43 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 21 Dec 2017 19:43:39 +0000 (19:43 +0000)
commit4fa14515aca80a81ffd07ec51fa66bca539d8e07
tree971779ab473b8316a7f8cbec4c6969c5f801e7c8
parent614f3702d93a45aa421a547c365a66fe5aebde21
When instantiating a deduction guide, transform its name.

Otherwise it will serve as a deduction guide for the wrong class template.

llvm-svn: 321297
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/SemaTemplate/nested-deduction-guides.cpp [new file with mode: 0644]