PR14841: If partial substitution of explicitly-specified template arguments
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 6 Jun 2014 16:00:50 +0000 (16:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 6 Jun 2014 16:00:50 +0000 (16:00 +0000)
commit07f7991f30a1bac95152c59ce3f780bdd84404b4
tree667363e0a5c1adbcab170d12083f3115521f7ce2
parent75f5cf657eb8036bcd2d49df9933568e6fa3df43
PR14841: If partial substitution of explicitly-specified template arguments
results in a template having too many arguments, but all the trailing arguments
are packs, that's OK if we have a partial pack substitution: the trailing pack
expansions may end up empty.

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