[clang] [clang-format] Respect ColumnLimit while aligning multiline expressions (PR #163863)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 17 10:31:42 PDT 2025
https://github.com/sstwcw commented:
Now the program fails to align some cases that are within the limit like this one. The configuration is `{AlignConsecutiveAssignments: {Enabled: true}, ColumnLimit: 15}`.
```C++
int i1 = 1;
k = bar(
argument1,
argument2);
```
I prefer failing to align occasionally over ignoring the column limit.
https://github.com/llvm/llvm-project/pull/163863
More information about the cfe-commits
mailing list