]> granicus.if.org Git - clang/commit
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)
commit15fd3ff705a5657be800d3402d919eb8d13ec9f0
tree143c9e71a36f6471a56a5bee73225cec49ca6147
parenta4c4db1f56bea32f1736a77e4d5556d66d399c72
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210350 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplate.cpp
test/SemaTemplate/pack-deduction.cpp