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

    <tr>
        <th>Summary</th>
        <td>
            Regression when formatting around `for` condition
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format,
            regression,
            javascript
      </td>
    </tr>

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

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

<pre>
    formatted with `clang-format -style=Google a.ts`

actual formatting:
```
for await (
    const packageId of ops.api.iterateEmbeddedFiles(
        this.getFileId().getDriveFile(),
 )) {
}
```

expected formatting:
```
for await (const packageId of ops.api.iterateEmbeddedFiles(
 this.getFileId().getDriveFile(),
    )) {
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUs1unDAQfhpzsRaZ4Wfh4ENTSpVr32CwZ8GJFyPb7DZvX3lBaSr10BShQfPN78d8GIKZFiLJ6idW9xlucXZevqI2XlHMRqff5MX5K8ZImt9NnDlrhLK4TKcd56cQ3yyxsv_u3GSJYx4DawQTPRNfdosqbmj50cgsEyuPSErc34d7cZ7jHU3kDNod4pxz5ZYQ-YrqFSd61txduFtDjqvJTSSPkb5dR9Ka9GAshT9q0xNnE_KJYoo-6xSGLvm9NzdK4A4x-HrUPZyOs_PTsea5_-u-u6WfK6n0fz5J8L9pfZoP5_9AKdOy1F3ZYUayOEMDFYiqzmZZdHVRlCVVSgnVFhVUddtg26hWjJ0AkRkJAirRFWVRV6Kq86JrUFEFqqYCBQpWCbqisbm1t2vu_JSZEDaShWjrtsssjmTDQ4QAH8XFABIJAE-TpxCMW96hF7xhUN6sj6y6z7xM3U_jNgVWCWtCDL_nRRMtyR_vbfh9puXDwTh6ty06qfviPGtEEp020bgl27yVc4xrSFeFgcEwmThvY67clcGQZhyf0-rdC6nIYHgQDAyGg-NNwq8AAAD__5sIB3I">