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

    <tr>
        <th>Summary</th>
        <td>
            clang-format `LambdaBodyIndentation` doesn't work for lambda as parameter
        </td>
    </tr>

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

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

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

<pre>
    ```
$ cat test.cpp
void f() {
  foo bar([] {
            g();
 h();
          });
}
$ clang-format -version
clang-format version 18.0.0 (https://github.com/llvm/llvm-project 265ed6819409a9d76f112a601d48b971904921c8)
$ clang-format -style='{LambdaBodyIndentation: Signature}' test.cpp
void f() {
  foo bar([] {
    g();
    h();
  });
}

```
Expected output: same as input

@jp4a50
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU81unDAQfprhYgUNg7HxgUNW25Uq9dYnGLBhSVmMbJM0b1_BJk22TStVqoX4mY-B72fMMY7D7FwD1QGqY8ZrOvvQ-Cc3d5y13j43oPDlwCPgPZAUHSeRXEx5tyzX6qMfreiBaiAjQB-uVSF670XLYQP2H7zH3tZwbYTyFTv_Wvi5QB_fA9vjG62J5-Gu9-HCSdw9uhBHP1_hG-gFEUWdY44CqD6ntEQo74FOQKdhTOe1zTt_ATpN0-Pr5W4J_sF1SZCqnFV1YSQaNlarviiIFRZW1q3RhUFpqOh2CX9gF9Pz5KA8AmnQhy98aS0fvH3-PFs3J04b8_JefB2HmdMa3K5b_xfXf3NbiA8M_5vRL3e3g_Hp--K65Kzwa1rWtLGPfHGCoxjnrXBtup4lPiySK8xsU1pTGs5cUyhTkyEilZ0b3ZJlK42p0Rllqs6qttW6RSJV6r7KxoaQygJJYVkhqbyzGpH6mrHiQkoJEt2Fxynfost9GLIxxtU1GqlW2cStm-I-9kTvowGibSOEZk-8XYcIEqcxpvj2oTSmyTU3gYLCj0NUKKx3cQbSSTz58E30Pohpf3fzZuHAF5dcyNYwNf82iECnXVMEOu2yfgQAAP__wuEU3g">