earnol wrote:

> See [#208266 
> (comment)](https://github.com/llvm/llvm-project/issues/208266#issuecomment-4933319757).
>  The sequence should end at a block regardless. We should fix the bug in 
> `OverEmptyLines` instead.


Good point. I've extended the fix to also break the trailing comment alignment 
sequence at closing braces (`}`), so OverEmptyLines no longer aligns across 
block boundaries even without an intervening comment. Added an additional test 
case for this scenario as well.



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

Reply via email to