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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] [regression] formatting of comment not stable; oscillates between two ways
        </td>
    </tr>

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

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

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

<pre>
    formatting oscillates between the two ways shown below each time it is reformatted with 19.1.0-rc3 and also main as of 114ff99e93edd.  version 18 consistently chose the first one, fwiw.

 .clang-format contents:
```yaml
---
Language:        Cpp
IndentWidth: 4
```

```cpp
MYMACRO(Val1,
        A, // a comment
 // a comment
        AA, // a comment
);

MYMACRO(Val1,
 A,  // a comment
            // a comment
        AA, // a comment
);
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU0GPmzwQ_TXmMgIZGwgcOCRZRfqkb1Wph1Y9GjOAt8aO8CQo_76CkDatuu2lIwRoxu_5zWieCsH0DrFm-YHlL5G60OCn-s2jHbz-GjW-vdWdn0ZFZFwPPmhjrSIM0CDNiA5oQKDZw6xuAcLgZwcNWj8DKj0AmRHBEJgAE25E2MJsaIC0StKEx5OWoFwLygYPozIOVADfQZpmXVdVWEls2wTgilMw3kFagvYumEDoyN5ADz7gKqMzUyDwDpk4QjebOWH8hfH9_Q2Jtsr18V3FwrEQBCa3Oiv4_bmp0d5TcRzff_5Xrr-oHpncwxbH8_le-8-16OizaWlYytkvbM8Svif1A_z65XV__PiBifKTsikTx03rFvulEyZOTJxAgfbjiI62I--kH8g_QJmomDw8C3tPxkryl5uW-EdaHuOJ2lq2laxUhHW6E1lZpLsqi4ZaNVWJRc47xVvseKZ2eaoxr3gn86zb8cjUgouMl6JMi7SQWYJlXlayxFxXHc-lZBnHURmbWHsdEz_1kQnhgnXKiywtIqsatGG1gxDP-8KEWAwy1Qsubi59YBm3JlD4wUSG7Gqln4D5C7D8MGE_YVgWeEk8W6p7DAScJwikGotMHn7rtc1n0WWy9UB0Xrd3nWtvaLg0ifYjE6dF0faJz5N_Q01MnNZGAxOnrddrLb4FAAD__4h4Ljo">