summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.capture
Commit message (Collapse)AuthorAgeFilesLines
* [c++20] P0780R2: Support pack-expansion of init-captures.Richard Smith2019-05-211-0/+42
This permits an init-capture to introduce a new pack: template<typename ...T> auto x = [...a = T()] { /* a is a pack */ }; To support this, the mechanism for allowing ParmVarDecls to be packs has been extended to support arbitrary local VarDecls. llvm-svn: 361300
OpenPOWER on IntegriCloud