[clang] [clang-format] Fix mismatched break in BlockIndent (PR #124998)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 30 18:34:04 PST 2025
================
@@ -349,6 +349,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
----------------
owenca wrote:
```suggestion
// a break after the left parens, which is tracked by BreakBeforeClosingParen.
```
https://github.com/llvm/llvm-project/pull/124998
More information about the cfe-commits
mailing list