Nicolas Lesser
5125a02a03
[clang] fixing -ast-print for variadic parameter pack in lambda capture
...
Summary:
currently for:
```
template<typename ... T>
void f(T... t) {
auto l = [t...]{};
}
```
`clang -ast-print file.cpp`
outputs:
```
template <typename ...T> void f(T ...t) {
auto l = [t] {
}
;
}
```
notice that there is not `...` in the capture list of the lambda. this patch fixes this issue. and add test for it.
Patch by Tyker
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61556
llvm-svn: 359980
2019-05-05 12:35:12 +00:00
..
2019-03-06 10:26:19 +00:00
2019-01-19 08:50:56 +00:00
2019-05-03 03:28:06 +00:00
2019-05-03 03:28:06 +00:00
2019-02-03 14:06:54 +00:00
2019-05-04 00:09:00 +00:00
2019-01-19 08:50:56 +00:00
2019-05-04 00:09:00 +00:00
2019-03-27 14:14:31 +00:00
2019-01-19 08:50:56 +00:00
2018-12-17 13:53:12 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-31 08:48:19 +00:00
2019-01-19 08:50:56 +00:00
2019-05-04 00:09:00 +00:00
2019-01-19 08:50:56 +00:00
2019-05-03 12:50:00 +00:00
2019-05-04 10:49:46 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-24 14:43:05 +00:00
2019-03-12 18:52:33 +00:00
2019-05-04 10:49:46 +00:00
2019-05-02 00:49:14 +00:00
2019-04-04 10:48:36 +00:00
2019-01-19 08:50:56 +00:00
2019-05-04 04:00:45 +00:00
2019-05-04 10:49:46 +00:00
2019-04-12 15:36:02 +00:00
2019-04-08 13:59:15 +00:00
2019-01-19 08:50:56 +00:00
2019-01-29 20:49:54 +00:00
2018-12-01 22:16:27 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-05-04 10:49:46 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-23 16:37:42 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-05-04 04:22:33 +00:00
2019-03-27 14:14:31 +00:00
2018-11-06 07:05:14 +00:00
2019-01-19 08:50:56 +00:00
2019-01-29 20:49:54 +00:00
2019-03-15 11:09:41 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-24 14:43:05 +00:00
2019-01-29 20:49:54 +00:00
2019-01-19 08:50:56 +00:00
2019-04-12 15:36:02 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-20 16:32:36 +00:00
2019-05-05 12:35:12 +00:00
2019-03-27 14:14:31 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-05-03 00:44:50 +00:00
2019-03-20 16:32:36 +00:00
2019-05-03 03:28:06 +00:00
2019-01-19 08:50:56 +00:00
2019-05-04 10:49:46 +00:00
2019-04-24 14:43:05 +00:00
2019-01-19 08:50:56 +00:00