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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Attributes forces any variable template to indent incorrectly
        </td>
    </tr>

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

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

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

<pre>
    The code:
```cpp
[[maybe_unused]]
int a;
[[maybe_unused]]
foo<int> b;
```

is formatted to:
```cpp
[[maybe_unused]]
int a;
[[maybe_unused]]
foo<int>
    b;
```
any variable template is indented like this, making it inconsistent with non-templated variable definitions.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8UtGq2zAM_RrnRbQ4dto0D3lob9cv2MPehu0oiXYdO9jKHf37kbSXMthgTwOBsexzJB0dkzMNAbEVh4s4XAuz8BhT--2KExY2dvf264jgYodCn4W8CnkWR_kIN8_PzIq9TOZu8fsSloydOFzX2F4pMBihL__yt49R6DcKLPQXsC_QZ8nn9cGboY9pMszYAcf_3t8jAwB_b9SEO3yYRMZ6BMZp9oYRKAOFDsPat6d3BB4pC_UGk3mnMAAxUHAxZMqMgeEn8Qghht0nQ_ci7bCnQEwx5H3RtbprdGMKbMtaat2UZSWLsW2Ofa3rEm1_rJXpT03jjJTYW5TVoVG2oFZJpUulKlmVSsm97ZU81drZ-uRK06GoJE6G_N77j2kf01BQzgu29VGXVeGNRZ83CynlvAnD7rEZodRqqtSusJ1dhiwq6SlzfhExsd_s9xvwcIUzcyK7MG57dpjhz3JyfMq5qZYSOvb3Ykm-HZnnvPpC3YS6DcTjYvcuTkLd1vLPYzen-AMdC3XbhspC3ba5fgUAAP__Jqz0bQ">