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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] odd line break with c-style comment in argument list
        </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>
    version 17.0.1 consistently keeps a c-style comment with its argument:
```c++
void func() {
 fooooooooooooooooooooooooooooooooooooooo(
      a,
 /*qqqq_=*/std::move(q), [this, b](std::function<void(uint32_t)> cb) {},
 c);
  fooooooooooooooooooooooooooooooooooooooo(
 /*qqqq_=*/std::move(q), [this, b](std::function<void(uint32_t)> cb) {});
 fooooooooooooooooooooooooooooooooooooooo(
      /*qqqq_=*/std::move(q), [this, b](std::function<void(uint32_t)> cb) {},
 c);
}
```

whereas 18.1 and HEAD (https://github.com/llvm/llvm-project/commit/d99cfa053998483e7283e91ff204fbe117345685) in one narrow case decides to break after the comment (the last function call in this example):
```c++
void func() {
 fooooooooooooooooooooooooooooooooooooooo(
      a,
 /*qqqq_=*/std::move(q), [this, b](std::function<void(uint32_t)> cb) {},
 c);
  fooooooooooooooooooooooooooooooooooooooo(
 /*qqqq_=*/std::move(q), [this, b](std::function<void(uint32_t)> cb) {});
 fooooooooooooooooooooooooooooooooooooooo(
      /*qqqq_=*/
 std::move(q), [this, b](std::function<void(uint32_t)> cb) {}, c);
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVcFyozwMfhpx0TRjyxDgwCFtmvnfomOMCG4dnGCT_n37HdOk3e5ld3vY3UM9HrAsJD4Jf3w6BLsfmRsobqHYZnqOg5-aR89u8OYpa3330px5CtaPKMuVWEk0fgw2RB6je8En5mNAjeYmxBfHaPzhwGPEZxsHtDGgnvZz2gG1AbEFsYG1eJ0G6DbNZffsbYf9PBqgCqhGKC8O7P2vjRT4GrEMDXR3sYF2QJvT6XR6ALUF2gDtQuwSIrU5-DMDVSegGugOobiNgw1p2UKxBarenkzoovUjqLuEFqia7RgVPcQUq-7RtFfk5fb97WbxXqv5RDl_B_53mD_5Bf6htifPx8N3MZfr88AT64CyWknUY4f_3W-2CFQNMR5DQpEq2e1tHOZ2ZfwBaOfc-Xq7OU7-kU0E2qXTb9Oiq2vTa1Gouq7ySnFJleJa9j2JvG9ZylLlxboqEnI7oh8ZRz1N_hmNDowdG9txwOixnVg_oe4jTxiHd4IBVcl0OkS8tgiNdi7lS71E_l8fjo6XPnxx74t7F_8f6P7PyJd1jepqVeuMG1lKqeqyIJkNjSo7YVqzNlRTq0RetIKqSuW10B23cp3ZhgTlQlFBQpKQq1LquipLyV1rZN-XkAs-aOtWiZkrP-0zG8LMTbUuSpU53bILi9gRGafH_U3vp4OOQJTkb2oWQrfzPkAunA0xvCeKNrpFKD8EFlv0XYfOjnzh6iJ9P-qhHd-UEFPebJ5c89v_l6WWALRbyvkWAAD__9TST30">