<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/61616>61616</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Wrong indentation of comment before requires clause following template head
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
usx95
</td>
</tr>
</table>
<pre>
```cpp
template <typename T, typename U>
// A long comment about requires clause. T and U must allow addition and
// subtraction.
// <- Wrong indentation.
requires requires(T t, U u) {
u + t;
u - t;
}
void WaitForTask(T t, U u)
// A long comment about requires clause. T and U must allow addition and
// subtraction.
// <- This has correct indentation.
requires requires(T t, U u) {
u + t;
u - t;
}
{
u + t;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysk8uunDwMx5_GbKxBkAwMLLI4Z-bjCWZ01gEM5GsgNJfTnrevmPuli1YqQiLE_9jOz7Z0TvUTkYDsHbJdJIMfjBXB_SyzqDbtl4A8Ob3NPEOyg-TN0zhr6QmBb_3XTJMcCffAtnj9OwD_7yQGVgGr8A21mXpszDjS5FHWJni09D0oSw4bLYOjGPcopxYPOAbnUWptfqBsW-WVmRbLg0cXam9ls9jiBwPw7Qo_7BJOTS1NXt5pbjEvC2DFHv2S_QEDsBJh837Wnp-AwN7RA3_ZX93vwmZ3Wn0a1eKHVL4ydi_dt-cINy__Hs6d11dAd8YjpP2gHA7SYWOspcb_jhfiXyH7Q1ZLIhdcD7yfz99UlzaMWsHbkpcyIpHmm3Jd5NkmjQaxKUrecMrTpGNpSWWRds1a8rTLWJZRwSIlWMJ4whlLWcKyNC5ISpZTUlKWrbO6hHVCo1Q61vpzjI3tI-VcIJGneZpHWtak3WVQrFhEqzr0DtaJVs672zGvvCbx0oNoumuRa-qMpecqY2eWwqqpx-uUDSTbKFgtBu9nB_zc573yQ6jjxozAqiXy-bOarfmfGg-sOmbvgFXHC_wKAAD__-QIKg8">