owenca wrote:

> A non-trailing block comment on its own line (e.g. between declarations) 
> should break the trailing comment alignment sequence.

This is still the case after bae9ddca423145baf0c35e31898b723aa273f85c for a 
sequence within the same block.

> This is a regression introduced by 
> [bae9ddc](https://github.com/llvm/llvm-project/commit/bae9ddca423145baf0c35e31898b723aa273f85c)
>  which correctly stopped marking standalone block comments as trailing, but 
> did not account for their role as alignment sequence barriers.

See 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.

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