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

    <tr>
        <th>Summary</th>
        <td>
            Clang-format: Correctly align macros with trailing multiline comment
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    Hello,
When formatting macros, those who have trailing multiline comments are formatted incorrectly (moved into new line):

```
#define FOO_1   BAR_1   /* Comment */
#define FOO_2   BAR_2   /* Comment */
#define FOO_3   BAR_3   /* Multiline
                           Comment */
#define FOO_4   BAR_4   /* Comment */
```
gets formatted to:
```
#define FOO_1 BAR_1 /* Comment */
#define FOO_2 BAR_2 /* Comment */
#define FOO_3                    \
  BAR_3             /* Multiline \
                     * Comment */
#define FOO_4 BAR_4 /* Comment */
```

Tested with clang-format 13.0.0 and 13.0.1 with custom .clang-format based on LLVM and also LLVM only

Perhaps related to #53180 ?

Greetings
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVlFtv2yAUgH8NfjmqhcFO4gc_pOm8PbTqNE3r3iZsH18mbCLAifrvh42jpFu7NsgCDpwbnzkUqnrOvqCUirAdoXeEbp9aHKBWuhfWdkMDvSi1Mm4bbKsMwrFV0IoDgtWik7PGKO00QyhV3-NgDQiNJx9YQTeUSmssrXwGwja9OsyLVsGAR5gsCUsJ3_oEln5Fl8-LjFdYTzHyx8dfEQDcbr_NI2E5YVvY-dBO3E4rrxixxYhdY8QXI342ejgd1-vD2-199_HiPn4np5cwGnSIz3itOrP7PzXP7ApintdVtP5pJNmdSJ1IXmz-xfRS-zVfH0ojXph-nKjvv6OZeB4720IpxdDceMgQ8ZCGFMRQ-Wm06IzGqh7CF7qFMM6HGuD-_sfDbCKkUV5Sg3y-DPgVdSv2BjRK4f-kS5InPNpQIDy_VP2sEad6NEGV8SrlqQhsZyVmu4vg7h64055KTciuGZb69Qm_XbLBqGXWWrs3012auOWNsxiL0Ck4QcrDabjZa_XbRXBiZ8yI7m3Ik5inadBmRVyVEfJNQWmyrmvB0iIqN0jTqqrqNa4CKQqUJiPJLWFsqv7ZhZuT5C7oMkYZozxaRTxJk3W4ElXMaqR1HDNWVmsSU-zdEcIpj1DpJtDZnFIxNsZtys5Yc94UxjgCiHM451-M7gnTWT3KUo_9p_xnMEfP5uz_AIzbdS4">