]> granicus.if.org Git - clang/commit
When forming the injected-class-name of a variadic template, the
authorDouglas Gregor <dgregor@apple.com>
Thu, 23 Dec 2010 16:00:30 +0000 (16:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 23 Dec 2010 16:00:30 +0000 (16:00 +0000)
commitb7d09d627c8576b9bc85f44f05befdd44fedc7ed
treeb720ca0a657956f83cd6e5d9a8a368b33d9ce72d
parent3e310d33e4b3b2094df11b25eabde2caab610a94
When forming the injected-class-name of a variadic template, the
template argument corresponding to a template parameter pack is an
argument pack of a pack expansion of that template parameter
pack. Implements C++0x [temp.dep.type]p2 (at least, as much of it as
we can).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122498 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclTemplate.cpp
test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp [new file with mode: 0644]