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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Lamda parameter list does not consistently respect AlignAfterOpenBracket option
        </td>
    </tr>

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

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

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

<pre>
    clang-format version 14.0.6, comes with sublime text Clang Format extension v 1.3.7

With config:
```
AlignAfterOpenBracket: BlockIndent
BinPackArguments: false
BinPackParameters: false
ColumnLimit: 160
ContinuationIndentWidth: 8
```
result:
```
auto long_named_lambda = [](uint32_t* LongNameForParameter1,
 double* LongNameForParameter2,
                            const float& LongNameForParameter3,
                            const std::map<std::string, int32_t>& LongNameForParameter4) {};

void long_named_funciton(
        uint32_t* LongNameForParameter1,
 double* LongNameForParameter2,
        const float& LongNameForParameter3,
        const std::map<std::string, int32_t>& LongNameForParameter4
)
{}
```

First lambda appears on the same line, which is not correct behavior for `BlockIndent`. The same thing with `AlwaysBreak`.
Other options for `AlignAfterOpenBracket` do affect lambda paremeter list the same way they affect function paremeter list, I think there should be consistency here.

Hand formatted "correct" result:
```
auto long_named_lambda = [](
        uint32_t* LongNameForParameter1,
        double* LongNameForParameter2,
 const float& LongNameForParameter3,
        const std::map<std::string, int32_t>& LongNameForParameter4

{};

void long_named_funciton(
        uint32_t* LongNameForParameter1,
 double* LongNameForParameter2,
        const float& LongNameForParameter3,
        const std::map<std::string, int32_t>& LongNameForParameter4
)
{}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVt-P4jYQ_mvMy2gj44QAD3ngR1FPWvXuodI9rhxnkrg4NrIncPz3lZNwy57Yqt22Uh8aoYDxzPibL9_nWIagG4tYsMWWLfYz2VPrfNGg1X3QocNZ6aproYy0zVP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