<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/149010>149010</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang-format 20 ignores reference alignment in requires clause
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ozars
      </td>
    </tr>
</table>

<pre>
    This is a change of behavior from clang-format 19.

Example .clang-format:

```
Language: Cpp
Standard: c++20
PointerAlignment: Left
ReferenceAlignment: Left
DerivePointerAlignment: false
```

Example input file:

```cpp
bool kTrivialExample = requires { static_cast< int && >(1); };
```

Example output with clang-format 20:

```cpp
bool kTrivialExample = requires { static_cast<int &&>(1); };
```

Example output with clang-format 19:

```cpp
bool kTrivialExample = requires { static_cast<int&&>(1); };
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysk0tv3CAQxz_N-IKywoMf6wMHO5s95VC1uVcYj21aDC7g7ePTV04T5dFU6iESEhLDDL_5M38Vo5kckYSyg_KUqS3NPkj_S4WY9X74Ke9mE5mJTDE9KzcR8yPraVYX4wMbg1-YtspNV6MPi0osbw7AW-DtzQ-1rJbY4XkYRPsnChV_WLy9VW7a1EQgWna9rsDbT0m5QYVhP9GAHWCH-80P3rhEobVmcgu5vRy7pTEBbz_SSIGcpreCJwrmQm9lj8pGesXzDN64dUtsNJb-Jtf3qL33ln29C-ZilH1MA3Figb5tJlBkUHcsJpWM_qxVTCCumXGJAVaAFQNxA3jMARsQHYP6BKL7N4_f0g703aT5pezI3xPwie-d8PLmnfH-jy4bpBga0aiMZF6XWImSV8dslnVRqlyQqCsqhaABB30UuiqR-mLohzozEjmWvM4rLniBx0NTNtXQHEkXOR8qKqHgtChjD9ZeloMPU2Zi3EjmRcNznlnVk433rkJ84QDE3WdB7nlX_TZFKLg1McWnSskkS_LV_zIzOb_rER4nnanHSWbGPemlrdoiZVuwck5pjbvyeAY8TybNW3_QfgE87489bFdr8F9IJ8DzfQ8R8PzQxkXi7wAAAP__P01EqQ">