================
@@ -6105,6 +6105,33 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine 
&Line,
       return false;
   }
 
+  // We only break before r_brace if there was a corresponding break before
+  // the l_brace, which is tracked by BreakBeforeClosingBrace.
----------------
owenca wrote:

```suggestion
  // We only break before an r_brace if there was a corresponding break after
  // the matching l_brace, which is tracked by BreakBeforeClosingBrace.
```

https://github.com/llvm/llvm-project/pull/119044
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to