<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54271>54271</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] AlignConsecutiveAssignments aligns = in operator= with =delete.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DanielSeemaier
</td>
</tr>
</table>
<pre>
clang-format config:
```
AlignConsecutiveAssignments: true
AllowShortFunctionsOnASingleLine: None
```
With otherwise default options aligns the equal sign in `operator=` with the equal sign that deletes the copy assignment operator:
```
struct F {
void operator=(F const &) = delete;
void operator =(F &&) {
// stuff
}
};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9Uk1vozAQ_TXmMmpkIIRw4EA3yqnqHnLYs8EDuHLsrD1O1H-_BkITVdUiCzxfb94bprXys-60MMNLb91ZEHTW9GpgecP4gfGG7fj9zGaj1WB-WeOxC6Su2HgfHWc05GMJkAu4Jmp7O43W0TGYjlQs-W2akzKDxjdlcMp-twZ_7LK8_ygawdKI7qY8gsReBE1gLzMaiImKhxgH_BuEhokJKAMRxl7QCbKO5YdowW1C-pZIYxQrUSPhAtLZyyeILz3wwGjgmdY3rj5q7giOwMrXxQNwtUrCM4dsf5wG6wlYtmNZBdF5b87yn8vg-Vkx5uoF4NEthrNjPOAp9P3qZeXhzjde1h5f3BNZ57LKK5GQIo01K16ft4AVB_jPr15nP6mIA39Suow6XhZxG0iC0_VIdJn2Y-E5xJTQbjp7jobW1_XzcnH2AzuKpvI-oI-XYpuVaTLWeZWilIK3co9lmldd1hYCheS7vkt3eZto0aL2k47IPVF1xrOM53yfZtuy2G_aqsc951jK7VamvGBbjmeh9GZqvLFuSFw9c2jD4GNQK0_-EVzWAnHFF4HiatcHYRTqE05Q6JKZdT1T_gegDQi0">