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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Indentation not reset with lvalue ref-qualifier and `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>
          mikezackles
      </td>
    </tr>
</table>

<pre>
    Using the defaults:
```c++
template <int N, int I> struct Foo {
  int bar() & requires(N == I) { return 0; } int baz() { return 0; }
};
```
vs.
```c++
template <int N, int I> struct Foo {
 int bar()
    requires(N == I)
  {
    return 0;
  }
  int baz() { return 0; }
};
```
(ref-qualifier removed)

Things look worse with less trivial code.

Arch Linux, version 16.0.6 (apologies if this is already fixed -- I don't have access to 17 at the moment)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysk8uOqzgQhp-m2JSCjLkvWHSaiRRp1KuZBzB2AZ42dto26cvTj0KnLzlHZ3WOZHEr_1DfT_0iBD1Zog7KPZR9ItY4O98t-pHehHw0FJLBqdfu36DthHEmVDSK1cQA-R2wHtgdVOx9SeD7y9qeRlpORkRCyO-1jfgA_B4vF0fI_8IQ_SojHpxDqK8K3MqD8MAb4C0Cr9DT06o9BeDNA0LeQ97jcSvWe_QUV2-RQb5HqPur_O1D_vOOa791D_n-h97fb88h_cNMN0gfnPhLro8d30zB7xRf9f7WtN-hBt54GndPqzB61OTR0-LOpD77eT_-M2s7BTTOPeKz84HwWccZDYWA0euzFgalU5R-F915OePf2q4vF6_O5IN2FrMqZWmFwBtxcsZNmgLqEeOsA-qAwngS6hVH_UIKdzs8onIWeB1xFmdCIeX2UYdZjSJuY7m4hWwE3iaqy1WbtyKhLqtZ1bC2rfNk7qhsZFW0TTmKXI1DNpT1UPNWUt0WFTVjojvOeME4y7K65GWejmXRClVkrZL1mI0tFIwWoU1qzHlJnZ8SHcJKXcPyrEiMGMiELUicSyPstBudX0QEzi_R8t1FthvWKUDBjA4xfL0o6mi2EN4Iyx6PVpGNIl5ssy6ip0Dx6vxZmJXw9t8JqxAq9jlgFUNpxBooWb3p5hhPW3L5Afhh0nFeh1S6Bfjh0sr1tDt59x_JCPywAQbgh43x_wAAAP__YZ07Jw">