summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.decls/temp.variadic/init-capture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash on init-capture packs where the type of the initializer is ↵Richard Smith2019-12-191-0/+8
| | | | non-dependent.
* [c++20] P0780R2: Support pack-expansion of init-captures.Richard Smith2019-05-211-0/+39
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