<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61032>61032</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] clang-format 15 ails for lambda with non-type parameter pack and reference capture in .h header
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kaigu1997
</td>
</tr>
</table>
<pre>
Here is the minimal example:
.clang-format:
```
BasedOnStyle: Microsoft
---
Language: Cpp
UseTab: Always
```
test.h:
```
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kc-u2yoQxp8Gb0a2MIb4eMEiuVF0F626aPsAgxnb9GBsAW6at6_sHPWPdCohwfyGYZjvw5TcGIg0UxemrgVueVqifkU3bnXXtYVZ7EP_T5HAJcgTweyCm9ED_cB59cSaM-NXxs9V7zGM5bDEGfMvyk78bR3hBRPZT-FzfhyV8NH1cUnLkJ_psiyfhw8Yxg3H485_6_qEXxN9QbOjs7_jI73bIVPK1fSv_u_CwurGdk2HBen61LZKvHRKFpOWgpOU8sTJtG3TWNW2Q91wYUzXis7ywmnBRcOFaAWvlZKVNVRLZV8GOZhO9pZJTjM6X3n_fa6WOBYupY30qeaNKDwa8umQXohAdziSTIjdiaj3mtJsY2KSe5dy-v1KdtmTBqYuf6murvBnDLUCdD7BsETwOBuLcHd5grCEMj9WghUjzpQpwor9K2CwEGmgSKEn6HHN2258gGqCidBSLLbo9ZTzmnaJxY2J2-jytJmqX2YmbvsP37Zyjcs36jMTt2OuxMTtmPtnAAAA___bXL45">