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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format]  Multiline C macros gets aggressively indentations after formatting. 
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          minglotus-6
      </td>
    </tr>
</table>

<pre>
    [This ](https://github.com/llvm/llvm-project/actions/runs/7921397694/job/21626608711?pr=81691) is the clang-format diff from the pre-commit CI of a [pull request 1](https://github.com/llvm/llvm-project/pull/81691). The automatic formatted lines ( line 210 to line 267, line 284 to line 404, code between 780 to 970, etc) are indented in a way that’s hard to read at least for me.

Using `// clang-format off` and `// clang-format on` selectively around code regions (as demonstrated in a [draft pr](https://github.com/llvm/llvm-project/pull/82057) is one option. But it goes in the opposite of the good direction to enable clang-formats everywhere. 

File this bug to track the issue.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykU82S5CYMfhp8UY0L4z84-LAzHVflkNvmAbCRbTYYHJBnqt8-hXt6s3vIIUmVywiEkPTp-3RKdvWIA2tfWXsr9ElbiMNu_eoCnemlK6Zg7tn9dbMJWHtjQm5ER2L1FyZGJsbV0nZO5Rx2Jkbn3p_LyxHDN5yJiVHPZINPTIzxvJZeiapWfacaJsZvYWJiFFUnuo7LvqpYPR6R1TdZdapiQoFNQBvC7LRfX5YQd01g7LLAEsN-uY6IL3PYd0vw9iuEBTSw9vU4nYOIf56YCKr_WHx-hInxWUwJXzcEfVLYNdkZHuUQGnDWYwIm5GWBqDhQ-LS7nom3T1s2388b3uTzORiECekD0UMvrzjV8-xCmjMCOiJYb9DnRNaDhg99B9o0sV8Ek5wplWDT0eTQiNqAJnCoE-UCYceS8RvjXx7_35P1K7COP0D4GdiwLKzjoL35xxs-X0jocCb7ju4OOobTm0cfEdc87AyETmBwDz5R1N8LZ-2riXohOOL_nIjgbf9Jj-ARwpFZVsLrSWAJ1oApZ8z0CMcRkiXMzMj7NQQDxka8iJkxQ68n9zPFEuA7xvvHhhFL-BG_0ToEyoKYzjVHU9TzH9fLNqUTy8IMtVG10gUOVc9l03WdlMU2qL5XihuU09zMc9_VfBF9uyyTabWcVFfYQXDRcCHy1zSyVLKWvVhqXqlqEn3DGo67tq7MoJQhrsWVcpCiEV3h9IQuPeUchwu56VwTa7izidLfYWTJXcL_sWfW3gB-Ox3Zi59vsOs5hgQrUgK9rhFTeoz8wUZ9CRv0QhifUrB-LaE4oxv-9WSvVtI120Z0fwUAAP__jKF8fw">