]> granicus.if.org Git - clang/commit
Implement support for a pack expansion into a fixed-length
authorDouglas Gregor <dgregor@apple.com>
Fri, 3 Feb 2012 07:34:46 +0000 (07:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 3 Feb 2012 07:34:46 +0000 (07:34 +0000)
commit8fbbae532e3cb5f45e9e862c60d48c78b0997325
tree98704d9e6ac89eca9dd0657e6e2f137b8d21b5d3
parent09e9cf0927641ee64bb0a354b0a6acca604361cc
Implement support for a pack expansion into a fixed-length
template. Such pack expansions can easily fail at template
instantiation time, if the expanded parameter packs are of the wrong
length. Fixes <rdar://problem/10040867>, PR9021, and the example that
came up today at Going Native.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149685 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.decls/temp.variadic/fixed-expansion.cpp [new file with mode: 0644]