================
@@ -6453,8 +6448,8 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine 
&Line,
        Left.getPrecedence() == prec::Assignment)) {
     return true;
   }
----------------
owenca wrote:

```suggestion
  }
  if (Left.is(TT_AttributeLSquare) && Right.is(tok::l_square)) {
    assert(Right.isNot(TT_AttributeLSquare));
    return false;
  }
```
The deleted/replaced two lines below (lines 6456-6457) were for both `[[` and 
`]]`.

https://github.com/llvm/llvm-project/pull/164052
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to