PR19372: Keep checking template arguments after we see an argument pack
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Nov 2014 23:38:38 +0000 (23:38 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Nov 2014 23:38:38 +0000 (23:38 +0000)
commit96d71c3936f0a916ec8f88af6307151e5f3067e6
tree83284e9836b9cf7c441be00d28d4f68b84b43c16
parent8870ad24399680811045a34d9b5438ebc4d812f8
PR19372: Keep checking template arguments after we see an argument pack
expansion into a parameter pack; we know that we're still filling in that
parameter's arguments. Previously, if we hit this case for an alias template,
we'd try to substitute using non-canonical template arguments.

llvm-svn: 221832
clang/lib/Sema/SemaTemplate.cpp
clang/test/SemaTemplate/deduction.cpp