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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format]: continuation for chained calls is wrong
        </td>
    </tr>

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

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

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

<pre>
    # input files

`.clang-format`:
```yaml
---
ColumnLimit: '120'
ContinuationIndentWidth: '1'
IndentWidth: '1'
Standard: Latest
TabWidth: '1'
UseCRLF: 'false'
UseTab: ForContinuationAndIndentation

...
```

`main.cpp`:
```cpp
void func()
{
        auto out = utki::linq(std::move(in))
                .select([](auto v) {
                        auto r = std::make_pair(std::move(v.second), 13.4f);
                        tst::check(v.second.empty(), SL);
                        return r;
                })
                .get();
}
```

# command

```console
clang-format main.cpp
```

# expected result

formatting is not changed

# actual result

```cpp
void func() {
        auto out = utki::linq(std::move(in))
                                                                                                        .select([](auto v) {
                                                                                                                auto r = std::make_pair(std::move(v.second), 13.4f);
                                                                                                                tst::check(v.second.empty(), SL);
                                                                                                                return r;
                                                                                                        })
                                                                                                        .get();
}
```
The continuation indentation is wrong.

# version

```console
$ clang-format --version
Debian clang-format version 15.0.0-++20220513071846+693758b28295-1~exp1~20220513071937.249
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VUuPmzAQ_jVwsbDAQIADh91NI1XKqduqx8pgB9w1NsUm2_33HR6bEJpuWrWVRmDP45vxPOxCs5fcISESqu0tOgjJjeNvHf9u_m58XEqqKu-gu4Za2DvhWTbRC23kxPI8b1o8aNk3ai8aYUEfOSQJiA_fV6myQvXUCq3eK8aV_SyYrV81T3pvyR4tVYx2bBDsqeXGTvyPtLhu8Mnwhw_73cw_UGn4UgZ2g2inu2V0d4pNQYy7ZWYwxqs0rPLWUKFw2bZXUzbwR85RC4YOvSodkjokm9WS-1ewjPZWIw21ccIt6u2TGMDCOynUNzAxlk37Rh_hOKlQA8gJx4dFhg2XvLSDg_jeibewGEGPoIeWriYaZd3o7oxOn_iXloruissj4JdasdHxAwpCHB2GdbgGtsZOhmXNy6eFJeZNa1_mBADE4_6qfcdt3ynUrSXJdn3gitsZ7aQKSm9UCwag1E0DHbUq4lwtrYyWfOIuxwGdivw2OP_eQgU4Qx03vbRL8QQEDVchYZDSFpU1OOBsjUFL21N5BeFmU6F_20836Q8b7ib9t468SX_bsjfpVz19k35q-ttV-f2p-FhzmIfzLQivw-kOHLr0udOqwusGPfLOrC7J6xPkkAhdTJHnXdhueSGoulSZFVAQYx_7nkPugYhPiB8HoZ8EabQBxiYLkzgtSEqy2Auc5B0M3vBbKIIGJlG2is9leciyMKOuFVbyHBr34tmDJobH4SInIBlGVSgY65JKaU6ZcftO5rW1rRmah-yAKmHrvsBwycBGyuPrz2s7_XWclZ0wpofHl-ziOEpSt8790KfxIcnSJAhpQIp4E5R-lG42nJUZK0JX0oJLM8TqEKL4MxohYA3huiKfDw3HjqI4wWHIGS-iDQkSRmjMnMjncH1JPMSBdVe5XT6GVPSVAaEUxpqzkBojKsXH1Az4MJS17nJR0UoYd_Scj5H_AHS_O0k">