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

    <tr>
        <th>Summary</th>
        <td>
            Misformatting around attribute macros
        </td>
    </tr>

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

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

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

<pre>
    $ cat a.cc
```cpp
void MyGoodOldFunction(void* const long_enough = nullptr,
 void* my_attr_name even_longeeeeeeeeeeeeeeeeer = nullptr);
```

run: `clang-format -style='{BasedOnStyle: LLVM, AttributeMacros: ["my_attr_name"]}' a.cc`

expected formatting:
```cpp
void MyGoodOldFunction(
    void *const long_enough = nullptr,
    void *my_attr_name even_longeeeeeeeeeeeeeeeeer = nullptr);
```

actual formatting:
```cpp
void MyGoodOldFunction(void *const long_enough = nullptr,
                       void *
 my_attr_name even_longeeeeeeeeeeeeeeeeer = nullptr);
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysU02P2yAQ_TXjC0qEB3vtHDg4G7mXjfZQqdcIA3FoMVh8RM2_r5xstGnVQ7faERII3rx58zSIGM3otOZQb6HeFSKnkw_8h1AmSJ2KwasLB6yIFImItZRAO3iityXnGWh39kaR_eWL9-rVqj47mYx3gO3yANgR6V1MxHo3HrTzeTwRYDvisrVzCoDPQDtyx06Xg0gpHJyYNNFn7Q5Lnv4zwu8UG2DbR2HLmXYhO2AdWYRa4cbV0YdJJLKK6WI1sB1gA812K6JWr-7r7bIjLy_f9oDPpEspmCEnvRcy-HhlqreA-CgREKHeQbNw3ey5F9c_Zy2TVuRWNRk3Aus-4N7iCiFXYwhg9y8mPsA_00chUxb2vxv5YAd_iTvDgvicxgrFmdqwjSg0L5sKq7Zqmk1x4k9PpRwYa4eSCdZWR90IVimJEmtBj4oVhiPFmjKkZc2wbtalFrIehqaWTdlWrIWK6kkYu7b2PK19GAsTY9a8ZIgVLawYtI337xb4gloNeYxQUWtiiu95ySSr-d7Ed-eJCD47RcR9OMl0nc4iB8tPKc3LnAL2gP1o0ikPa-knwH7hfNtWc_DftUyA_VVYBOzftJ05_goAAP__FutIMg">