================
@@ -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
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to