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

    <tr>
        <th>Summary</th>
        <td>
            [clangd] Add CodeAction to swap operands to binary operators
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    Title. Turn:

```cpp
if (p == nullptr) ...
if (x <= 5) ...
```

into

```cpp
if (nullptr == p) ...
if (5 >= x) ...
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkVFu3CAQhk8zfkGx2ME45oGHbVyfIBcAw9pULCDATXL7it2kTaU8REIg_f_MfIx-VYrbgrUS-A_gc6eOuscsa8xlt2m32XQ6mjf57Kq3PXk-cgB2BjoD_bhHej9rSnfFXQjglAiwGdhMwuF9qhlQkL7vP5e8EmBPrYT_Z_6d-BnjQo3fwb7TPuDpCywnwH428_VrbGckM4IJ1Vl5eqRcMMFQdLtUmo105ZYaM4yKXial11GtVonVGq6xcxIpDvSEeBopUtFPA6dcK33SlLLLQGGg9qqc773_fe1j3jpXymHl4yTE1HmlrS-3KBCDfSE3ExBbMlm2ngd9bAUG6l2p5d-U2uJpjatXYTPAZ3I2hjxFY89rdTGQGkl5UYnEZLMKpjRBu6Dy211qiXdH9nKvNZWWMS6Ay-bqfuh-jVfApeHen4eU4y-7VsDl9skCuNyW-BMAAP__sYmqnA">