<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/112090>112090</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] does not heed `RequiresClausePosition`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
petiaccja
</td>
</tr>
</table>
<pre>
With `RequiresClausePosition: OwnLine`, I'd expect this snippet:
```c++
template <class T>
requires sizeof(T)
void func() {}
```
to be formatted like this:
```c++
template <class T>
requires sizeof(T)
void func() {}
```
However, what happens with clang-format 17 and 18 is this:
```c++
template <class T>
requires sizeof(T) void func() {}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU9uK20wMfhr5RmyY0SQ-XPhiN_nDXyi0lIVez0GJZzvxuJ5x0vbpi52Ubktb6AGEDRKa7yBJp-SPPXMLmwfY7Ao95S6O7cDZa2ufdGGi-9i-9blDKMUbfj_5kdM26Cnx65h89rEHdY-vLv1L3zOUAmiLL4Aqh_xhYJsxdz5h6v0wcAZ1D2IH4su3FNewQA9zLNnMpyHozAhqa4NOCR9B_XetjTcGmPwnjgeg-hGowWvxHL3Dw9RboHrJVg9Q7b6Deo6fIxrGQxxPOmd2GPw7Xvj-NU9ExB9z_UOq_8cLn3mc3b10OmOnh4H7hJd5NDbo_nh31YGyQt07lDX69G_E_MT039BQuFa5RjW64FZWVFfUSGqKrq2I64NS5YYdMTvXyIZLa9jUvBZGqcK3JGgthSQpFIlm5axQzlhpzLqUB-VgLfikfViFcD6t4ngsfEoTt1KSaEQRtOGQlvUmeu4TEM0LP7Zz352ZjgnWIviU09eXss9hOY1vGjc7dJET9jFjx-x-cRmlKKYxtF3OwzIG2gPtjz53k1nZeALaz1i3390wxie2GWi_SEhA-5uKc0ufAwAA__9hhRSU">