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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] preprocessor directives indentation compatible with Visual Studio Code
        </td>
    </tr>

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

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

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

<pre>
    It'll be great to have option to count `#` as space for `IndentPPDirectives: AfterHash` mode so formatting will be compatible with Visual Studio Code.

Desired code example:

```
#ifdef __GNUC__
#   pragma GCC diagnostic push
#   pragma GCC diagnostic ignored "-Wshadow"
#   pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUkkGL2zAQhX-NfBkSlLEdbw4-uEmz3UtZKG2hlzCWJrJaWTKSnLT_vjhZtu1pKQiERnoz76GPUrLGM7eififqQ0FzHkJs38-GPX9jx_5HKPqgf7VPWWDjHPQMJjJlyAEGujCEKdvgl6MKs88gtlJgKbYSKEGaSDGcQ1zKT16zz8_PBxtZZXvhJMoOunPm-IHSsEjGoBlSWBQj5Wy9gau9T1VhnCjb3jFcbR7gi00zOfiUZ20D7IPmtZCdkN2Bk42sQS29-CeNk2NRdvfLxd19yU5gac-az3A6PX78vD-d7jUAmCKZkeBxvwdtyfiQslUwzWl444k1PiyzBeLqaxpIh6tA_C_RbAynvAoXjtFqfpWz1_b8d4JCt6XelTsquN001cO2quumKYZWyq1qsEbNW5QSH3ZUPWw3dYNMuOt1VdgWJdayLiVijXWzJlJyo-Vmh1iWpSZRSR7JurVzl3EdoilsSjO3mwqxxMJRzy7dmEFkP5BXPLLPi1fcC0TlyJvV_ROXYn0oYrv0WvWzSaKSzqac_nTPNrsbg_8I6wNMkacYFKcUIuhXbsDeUKIbeW-DUczRtUPO0wKcwKPAo7F5mPu1CqPA4-LjZVtNMXxnlQUeb5GTwONL6kuLvwMAAP__yBYF9g">