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

    <tr>
        <th>Summary</th>
        <td>
            clang-format wrongly removes a space after "delete &&"
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          Julien-Elie
      </td>
    </tr>
</table>

<pre>
    When a variable is named `delete` in C code, a space is removed in `&&` conditions (but not in `||` conditions):

```
int delete = 0;
int num = 0;

if (delete &&num) {
  delete = 1;
}

if (!delete &&num) {
  delete = 1;
}
if (delete || num) {
  delete = 1;
}
```

Tested with clang-format 16.0.6.

Could it be fixed?  Maybe other special variables like `delete` are also impacted.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykksFu2zAMhp-GvhAxZNqR64MPa7IcBuw2YGdZomNtshRIcru-_WA3bZPtNAwgZFj8Sf0kPpWSPXvmHvaPsD8WaslTiP2XxVn2u8_OcjEE89J_n9ijwicVrRoco03o1cwGQQrDjjODFGg9HlAHw0AHVJguSm_SyHN4YrPmQQoguYYUqIM3NtvgEwI9DEtGH_Kbqj2scacC6qD-BOII4u2U4hrbr_UZX-0g1EcUUD9-JPwy_3F7zY3r629lmzm_zEAdQnsV4m3X6qO-Pf7dCKj6r173drYt4D_7uV_L6_mNU2aDzzZPqJ3y590Y4qwyVrIUpSxvtYewOIM248A42l9soD4hflUvA2PIE0dMF9ZWuXckEjr7k-95UJFRuRTQzhelM5uyMH1turpTBfdVK_ay6zpJxdRLMeqqa2hs272uiGStFO0bM-hR8L4yhe1JUCOqqqOqpobKhlo91ErzMMrWjC00gmdlXenc01yGeC5sSgv37UP70BVODezShjnR7fRAtIIf-7VsNyznBI1wNuX00Sjb7Li_29lzDP7sXq5op3fa1Zg5IhDdMQBExRJdP-V8SSvCdAI6nW2elqHUYQY6rY9dP7tLDD9YZ6DTNkICOm1T_A4AAP__NiQTYw">