================ @@ -358,10 +358,13 @@ bool ContinuationIndenter::canBreak(const LineState &State) { // Allow breaking before the right parens with block indentation if there was // a break after the left parens, which is tracked by BreakBeforeClosingParen. - if (Style.AlignAfterOpenBracket == FormatStyle::BAS_BlockIndent && - Current.is(tok::r_paren)) { + bool might_break_before = Style.BreakBeforeCloseBracketFunction || ---------------- HazardyKnusperkeks wrote:
```suggestion bool MightBreakBefore = Style.BreakBeforeCloseBracketFunction || ``` But why the variable in the first place? https://github.com/llvm/llvm-project/pull/108332 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits