================
@@ -1235,6 +1239,9 @@ unsigned
ContinuationIndenter::addTokenOnNewLine(LineState &State,
Style.AlignAfterOpenBracket == FormatStyle::BAS_BlockIndent;
}
+ if (PreviousNonComment && PreviousNonComment->is(tok::less))
+ CurrentState.BreakBeforeClosingAngle = true;
----------------
owenca wrote:
```suggestion
if (PreviousNonComment && PreviousNonComment->is(TT_TemplateOpener)) {
CurrentState.BreakBeforeClosingAngle =
Style.BreakBeforeTemplateCloser == FormatStyle::BBTCS_BlockIndent;
}
```
https://github.com/llvm/llvm-project/pull/118046
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits