================
@@ -406,6 +406,10 @@ bool ContinuationIndenter::mustBreak(const LineState
&State) {
}
if (CurrentState.BreakBeforeClosingParen && Current.is(tok::r_paren))
return true;
+ if (CurrentState.BreakBeforeClosingAngle && Current.is(TT_TemplateCloser) &&
+ Style.BreakBeforeTemplateCloser == FormatStyle::BBTCS_BlockIndent) {
+ return true;
+ }
----------------
owenca wrote:
```suggestion
if (CurrentState.BreakBeforeClosingAngle && Current.is(TT_TemplateCloser))
return true;
```
See below.
https://github.com/llvm/llvm-project/pull/118046
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits