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

    <tr>
        <th>Summary</th>
        <td>
            Wrong indentation around attribute macros with PointerAlignment: Left
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            c++,
            clang-format
      </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_attr]}' a.cc`

actual:
```cpp
void foo(const MyLongTypeNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee* my_fancy_attr
 testttttttttt);
```

expected:
```cpp
void foo(const MyLongTypeNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee* my_fancy_attr
 testttttttttt);
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMkkGP2y4QxT_N-IISkcGO7QMHZ6Ocdv_6Hyr1uMKAHVoMFozT-ttXdrft9lD12tFIwEi8eU_6qZzdGKyVUF2guhZqoXtM8rMyLmlLRR_NKnWcJhUMiI7BmWuvwngYYpoUsUOm1VsQV8Aa6sv_0QWyqfNuDJMNtH15tgMBPrGOKLl-IfuidIp5V6su0_o6qKDXV0WUoLpCvUkxddQazhx4B7xTmhblQWz3bbi3nmfg3SM6w4YYARsdQyb2sj7HMH5YZ_ufmuzfCrBjvzvgHSOb6WcBtiAu7xd_92S_zlaTNf-Kq8JIYVrRqsLKU13WXJRVI4q7VOVgVC3OQhjDSyN4xU-qx7ri9blt6qFwEjlWvDohr1FwcWyM0dg2_UkLe26whZLbSTl_9P4xHWMaC5fzYuVJtNWJF1711ucdIEQNeNkbAZ-29ztYtmF1LZLcdA79MmYouXeZ8i9lcuSt_JhiGJkLxgZS5GJgKsUlGKZ-MMSmHSL2xdGd_Ym6Ykle3onmDTbAG-BtdHRf-qOOE-Bt2_p2HOYUP1lNgLc9XAa8veV7SPwWAAD__2AUA7c">