<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57093>57093</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Format] Lambda with inner block and constrained parameter pack breaks formatting
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JohelEGP
</td>
</tr>
</table>
<pre>
No `.clang-format`.
Input and expected output, just as when using `class` instead of `C`:
```C++
void f() {
[]<C... I>(mp_list<I...>) {
{
a;
b;
}
};
c;
}
```
Actual output:
```C++
void f() {
[]<C... I>(mp_list<I...>){{a;
b;
}
}
;
c;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1UtuOmzAQ_RrzYi0ydoDwwMMm2a1SVVX_oBpjA941GGGzaf--Y7JhN1LVt0oGz8yxj89cpFO_6--OkoKljYWxe2jdPECIPmEnwh6v__M4LYHCqKj-NekmaEXdEjBG-JG-LB4xTy-9HunizdhFPqTzHndqRh804IU2ho_4EfFOG-11HQk_xLVG35xRtCV8T3hFSfkepZTkB5KfiDge0zSlZyKe8Mww_bTGB4yeMbrG7i7Re4dSIOLOl3c-KU_bc2h-QM1mb0c29Z8r9diEBeytOv850XinPHzOSP5F5mbcoH_lkug6KwrGBWdin6haqEpUkAQTrK5R2PN1PvIT_QaDVEAvJvTY41HPVFrXvK5T0jhs-gxmxEGZYIZBB8QnQFjOGl49vc5ZwGFJltnWfQiTj-Xiz7g65Fxk2rgBHWvfbtvDNLsXHD90jfeL9mjkJatE0tfA9pkSRaZQO-RFJjXonBVlvpOqVWyfWJDa-pgD4XzUF7pSoI3JJKbmjHOkyLJciLxMNezzEspdW2SlFFlFdkwPYGwadaRu7pK5XiXJpfMIxt74DxBn33SjXksW-WEJvZvrr67X9unLj2R9u161_wGOP_W0">