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

    <tr>
        <th>Summary</th>
        <td>
            git-clang-format suggested some odd indentation
        </td>
    </tr>

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

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

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

<pre>
    This came up in https://github.com/llvm/llvm-project/pull/65744

Where `git-clang-format` suggested 4 spaces indentation on the patch. This also happened when I ran it locally:

```bash
gh pr checkout 65744
git-clang-format --diff b8b4ee6b450766796b162b4811a6b3f723d07268 d07486764071679c8cbcd5e7c4905eb41b4770b3 -- clang/utils/TableGen/ClangAttrEmitter.cpp
```

Just running `clang-format` on the code doesn't do this indentation, but it fixes a lot of other indentation problems. So I think `git-clang-format` picks up on some formatting outside the patch and misses the idea a bit.

Anyone have any idea what's going on here?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUk0-PpDYQxT-NuZS6ZYyxmwOHyW6INteslLP_FNgZt41wsZv59hF0oumdKIdICCQXKr_61Xum1rhkxJH1P7H-c2N2CmUbadsbW_zb-DXECs7cEfYVYoZAtFbWvTAxMTEtkcJur67cmZhS-vbP57Ju5Q90xMS07ikxMaleS8n4Z8ZfHu_fA24ITPEl0sUlk5fLXLa7IaY41H1ZsBJ6kFBX47BCzB4zGYolQ8lAAWE15MIVTokm1QLBrCtm9PA9YIYvsJkMkSAVZ1J6O1Q_CWCKPx5rangcLQHWDVxA91p2gifNH0XC5eLjPIO9WYmorOy5VkoPyrZKWHlrW6NsN2vRea6FuoHnWt6UVpLrVunB3Zx1vkft5MB7tLK1UmtuO7hc4LyIiWmnmCoT01djE_6CmYnp01F6Idp-vkci3K5uXT-M8zzjr3sl2PacY14O1h85_w3SFY_gC9bMhCbwBehg-oSciU9gdzpozvFPrGAgFYIyQ6GA2w_bWbdiE97rFX4r8OVolV__a9FrdK_1sFbJUMsd4VGiQ2_ZqUaP76sGkz3cY61Yz8Po0YABG-n6PPRLfisZIZhvCCa_PX77HgwxoSss5eyd4fAf66bGj50fusE0OLZq6FWvezk0YTSI0utOKW7bwfJhsEp7NduWO-xm75s4Ci46Poi-7fuBD1frOz_PA_J55q3ueyY53k1M1yMS17ItTax1x1HpTnZNMhZTPXMnxA9chDiSuI1nkuy-VCZ5ipXqeyOKlHD8lyvfc3PCLN4_b6bZtzT-7wCfmg8bnrL_CgAA____J1l9">