This patch fixes a bug where clang-format will align newly broken trailing
comments even if this will make them exceed the line limit. The bug was caused
by a combination of unsigned arithmetic overflow and an imprecise computation
of the length of broken comment lines.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Could this be, that this commit doesn't handle well ColumnLimit: 0? With my style based on LLVM and ColumnLimit: 0 I had comments and consecutive lines aligned before, not anymore with
clang-format version 5.0.0-+rc2-1 (tags/RELEASE_500/rc2)
from Debian testing.