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

    <tr>
        <th>Summary</th>
        <td>
            clang-format breaks stringify macros with `IndentPPDirectives: AfterHash`
        </td>
    </tr>

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

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

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

<pre>
    ```
% cat format.c
#if 1
# define __STR(x) #x
#endif

% out/gn/bin/clang-format --style="{BasedOnStyle: llvm, IndentPPDirectives: AfterHash}"  format.c 
#if 1
#  define __STR(x) #  x
#endif
```

It shouldn't insert spaces after the `#` in front of `x`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUU2P2yAQ_TX4MoqF8Vd88CHZKOqeuur2vsIw2HQJRIC3yb8vdnZTteqqEgyaN8xj3mNw8tqThr4veiB0R1gNgkdQzp94zMUHWmoFxT0BiUpbhJeX5-_fCNteCOsg4Zf7DbRSq_fsTuzmSNhxtCkMeonCcDtubm_BZhPi1SApD4Qx0u73PKD8ap9v4A6MeTsR9gCPVqKNT08H7VFE_YZhqe5URP-Fh4m0Sz_cFcAnEj7TAPBvFX_5tMbHCGFys5FJTBtB24A-QWcuMABfJoI4ISxdrEwx3QDlnY3g1IJe0s4z2ZeyKzueRR0N9n-YMnjkrwFC9NqOWl3hxIV3AX7qOC0M_zOjodnsTT_FeF4qyfPlB1LzPOTCJT-PN1vXY3P27keiSakOYU5c7Fg3DWXZ1HdVMTQtNkxRta1bXhSDLCSXQiCtK7bNDB_QhJ7Ue1IfMt0zyhhti47SqqzqXAw1iop1SjFesI6TiuKJa5MvD-fOj5nv1xmGeQypaHSI4XeRh6BHi_jBz-c4Od9bLVy2ztqvg_4CDBTZ_Q">