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

    <tr>
        <th>Summary</th>
        <td>
            AlignAfterOpenBracket: DontAlign is ignored for nested function calls
        </td>
    </tr>

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

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

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

<pre>
    Hi

`AlignAfterOpenBracket: DontAlign` works fine with simple function calls. This is OK:

```
function_call(arg1, arg2,
              arg3, arg4);
```

is transformed to

```
function_call(arg1, arg2,
    arg3, arg4);
```

BUT it's ignored for nested function calls. This:

```
function_call(arg1, arg2, function_call2(arg3, arg4,
    arg5, arg6));
```

Is transformed to this:

```
function_call(arg1, arg2, function_call2(arg3, arg4,
                              arg5, arg6));
```

I.e. for nested function calls DontAlign counts ContinuationIndentWidth from the name of the nested function instead of counting it from the beginning of the line.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9U8Fu2zAM_Rr5QsyQpdhJDj4kDYoVO_TSYcdBtmlbqywFktxgfz_aSZElaBEUHSYIIiVST48UWbnmd_lVM75jfHNaC74xurObNqJ_3KPdelU_Y2RyAztn42wkJzg4_xyg1RbhoGMPQQ97g9COto7aWaiVMSGFp14HoPn4jRCuHjrNeft67-d0j4mV8l3GxB2QFCSPTnAxyCRPLgsm1kxu30Q-rkQhemVD6_yADUT3L7h8iMH2-xPoyMSS8tFZ54kFkQGLIU7qG3n7VMbgwi6ODn-xvQwjPxmKKYxbkTxc5xLif2T7_vhwHCmm7__BudyhdqONAe7oQNtRTT4PtkEbf-iGSr_1bqAUIFg1ILj2qF9hakt71UzmGU7bjsrhfLfCTls7nZ4ADLVWmjSlbNZyrZKoo8Hydm9OzXazvpLRm7KPcT__mrin2VETj1Vau4E2xry8ii97735hTYV7r0MYMZCSF3nGk77MGiEq1fC6KCTWGV9UQq1Egc2SVzWXmBhVoQkly7dMCIsHmCFIZ_ku0aXgQvBlJvlaFEKmsljxfJFjla1ktljWbMFxUNqkE4_U-S7x5UypGrtARqNDDGejCoECR5yfI3w1xt758kVHZXSbzE-XM_U_zSh8Ow">