<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/AST/ast-printer-lambda.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[clang] Fix printing of lambdas with capture expressions</title>
<updated>2020-07-16T10:50:25+00:00</updated>
<author>
<name>Ilya Golovenko</name>
<email>ilya.golovenko@huawei.com</email>
</author>
<published>2020-07-16T10:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a130cf8ae8ab56ba1cfa7edc52b637c9d0c3fd38'/>
<id>a130cf8ae8ab56ba1cfa7edc52b637c9d0c3fd38</id>
<content type='text'>
Patch by @walrus !

Reviewers: lattner, kadircet

Reviewed By: kadircet

Subscribers: riccibruno, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83855
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by @walrus !

Reviewers: lattner, kadircet

Reviewed By: kadircet

Subscribers: riccibruno, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83855
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] fixing -ast-print for variadic parameter pack in lambda capture</title>
<updated>2019-05-05T12:35:12+00:00</updated>
<author>
<name>Nicolas Lesser</name>
<email>blitzrakete@gmail.com</email>
</author>
<published>2019-05-05T12:35:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5125a02a032a68598f999c1ea801692c782a4177'/>
<id>5125a02a032a68598f999c1ea801692c782a4177</id>
<content type='text'>
Summary:
currently for:
```
 template&lt;typename ... T&gt;
void f(T... t) {
  auto l = [t...]{};
}
```
`clang -ast-print file.cpp`
outputs:

```
template &lt;typename ...T&gt; 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
currently for:
```
 template&lt;typename ... T&gt;
void f(T... t) {
  auto l = [t...]{};
}
```
`clang -ast-print file.cpp`
outputs:

```
template &lt;typename ...T&gt; 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
</pre>
</div>
</content>
</entry>
</feed>
