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

    <tr>
        <th>Summary</th>
        <td>
            clang-format regression on attribute macros
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            bug,
            c++,
            clang-format,
            regression
      </td>
    </tr>

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

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

<pre>
    command: `clang-format -style='{PointerAlignment: Left, AttributeMacros: [my_fancy_attribute_macro]}' a.cc`

expected:
```cpp
SomeLongTypeName* my_fancy_attribute_macro const
    some_name;  // Long comment about some_name.
```

actual:
```cpp
SomeLongTypeName*
 my_fancy_attribute_macro const some_name; // Long comment about some_name.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUUs2q2zwQfZrxRiTIY8uOF1o4N2R1v49Cuw-yPHHU6idI8qV5-6Lc_0VLCwPGM5pzzhyOSsksnkiC2IM4VGrNlxDlDzWbqClXU5hvUgfnlJ-hGRl0XFvll805RKcy26R8swTNAbCHfv8lGJ8pjtYs3pHPZeWRzhnwgY05RzOtmf5TOoZ0RxN7dzudlde3k3odn1yZgzhAX1CZ2moNHQc-Ah_p55V0pqKlNDr-XPp6BT5-DY4eg1--3a70v3IEOLLf4TMdfMrAR8YYS8HRyZeNZs8Y4BHwyAoSK6eTz0xNYc3v77YfyZ-VKZ1XZf9WVyH-s7TPov5VUzXLZh6aQVUk674VTS3EgNVF0rmfdrt2EH3dNcNuqFs9dVzroSdsNHWVkchR8BaRD6KpcdsT9jvanet5VrMYWmg5OWXs1tontw1xqUxKK8m66bpeVFZNZNM9T4jTugAi4AMgasD9vV7_P-TorRlpiZSSCb60xKGKstBspnVJ0HJrUk7vxNlkS_JTIN8BWPDszVl2dzZVa7TykvO1xO_Z08XkyzptdXCAx4L88tlcY_hOOgMe7_clwOPLiU8SfwUAAP__xcMFyQ">