llvm-project/clang/test/CXX
Douglas Gregor 476e3029ec Implement basic support for the use of variadic templates and blocks
together. In particular: 
  - Handle the use of captured parameter pack names within blocks
  (BlockDeclRefExpr understands parameter packs now)
  - Handle the declaration and expansion of parameter packs within a block's
  parameter list, e.g., ^(Args ...args) { ... })
  - Handle instantiation of blocks where the return type was not
  explicitly specified. (unrelated, but necessary for my tests).

Together, these fixes should make blocks and variadic templates work
reasonably well together. Note that BlockDeclRefExpr is still broken
w.r.t. its computation of type and value dependence, which will still
cause problems for blocks in templates.

llvm-svn: 123849
2011-01-19 21:32:01 +00:00
..
basic C++ [basic.scope.hiding] allows an ordinary name to hide a non-tag 2010-10-23 16:06:17 +00:00
class Change ParseOptionalCXX0XVirtSpecifierSeq to take a VirtSpecifiers struct. 2011-01-17 03:05:47 +00:00
class.access Access control polish: drop the note on the original declaration and 2010-10-20 08:15:06 +00:00
class.derived In the presence of using declarations, we can find the same class 2010-10-22 22:08:47 +00:00
conv Drop an unjustified limitation from Type::isObjectType(). Fixes PR7801 and doesn't seem to break anything. 2010-08-05 01:21:19 +00:00
dcl.dcl Revert r120063, it was wrong. 2010-11-29 18:01:58 +00:00
dcl.decl Initial implementation of function parameter packs. This implementation allows: 2011-01-05 23:12:31 +00:00
except Add unnamed_addr to constructors and destructors. 2011-01-11 00:26:26 +00:00
expr Implement substitution of a function parameter pack for its set of 2011-01-07 16:43:16 +00:00
lex Fix for PR6220: compute the correct type for multicharacter literals. 2010-02-03 18:21:45 +00:00
over Implement C++0x [temp.func.order]p3 (aka DR532) properly. In 2010-11-15 15:41:16 +00:00
special 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
stmt.stmt add missing newlines at end of file. 2010-12-21 02:36:58 +00:00
temp Implement basic support for the use of variadic templates and blocks 2011-01-19 21:32:01 +00:00