Ensure that we substitute into the declaration of a template parameter pack
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Feb 2016 20:40:30 +0000 (20:40 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Feb 2016 20:40:30 +0000 (20:40 +0000)
commitdf18ee9620617192705da8791d4b63209e42bae7
tree46ba26ffba0868a6a9dfd7db0d40eb746341348e
parent37acb79084b54b75d77687f4f575a07925517c83
Ensure that we substitute into the declaration of a template parameter pack
(that is not a pack expansion) during template argument deduction, even if we
deduced that the pack would be empty.

llvm-svn: 259688
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp [new file with mode: 0644]