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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] AlignCompound gives alignment not by equal signs
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    I have this selected options:
```
AlignConsecutiveAssignments:
  Enabled: true
  AlignCompound: true
```

and it gives this result:
```
 int i = 0;
 i     &= 2;
```

but I expect it should be like in [documentation](https://clang.llvm.org/docs/ClangFormatStyleOptions.html):
```
 int i = 0;
 i    &= 2;
```

clang-format version is 15.0.1
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydUk1v2zAM_TXyhahhy1_RwYe0WYGedtgvkGXG1iZbmUUFy78f7STtWmxAMUOwwEdR7_FRne8v7QuM-oxAow0Q0KEh7MGfyPo5iGIvsoPI9qLObmsL984O8xMfQBPJnnEfAgMTzvRWAvBl1p3DnhGgJeIdvhVPJx_nD8kPNNe_nnuwBAPzhKvMBUN09C9xYGcCC6I4QCaKxzsI6ydkveLyFf8rYxcJXgB_ndiMlTqMProeOgRnfyDfD6J67L2Ja8d6dUpUByF3I9FpM0A-8zJOz0Pq3HlK_TIwwBWBt6cVf_bLpOkbXRx-vXqdjjQ5IdV_tPW5rjY9D8eNGM64BGYFdjOv0izNE2zzui4Lmee7KunboleF0glZcthyu39Wc7fvp3gbjna3VwCzJ-gugD-jdrC-jZDExbXvDRosjbFLjZ84WH26bQ-nxX9n6zm0IURcTat2mVTJ2DY671Wj6vJY1HndmKZBUxaIameOtWmOidMdurAqZpWJbWUmZaZkIwtZyyqVZW46ZYo6U32pqqMoM5y0da9zSpZ209DFIXDS2UDhLam3h454v19HGj1XIHJyE9tuSn8Dg9z_hQ">