================
@@ -1955,7 +1955,8 @@ void
ContinuationIndenter::moveStatePastScopeCloser(LineState &State) {
void ContinuationIndenter::moveStateToNewBlock(LineState &State) {
if (Style.LambdaBodyIndentation == FormatStyle::LBI_OuterScope &&
- State.NextToken->is(TT_LambdaLBrace)) {
+ State.NextToken->is(TT_LambdaLBrace) && State.Line &&
----------------
owenca wrote:
```suggestion
State.NextToken->is(TT_LambdaLBrace) &&
```
https://github.com/llvm/llvm-project/pull/66755
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits