Issue 68122
Summary [clang-format] Alignment does not honor ColumnLimit
Labels bug, clang-format
Assignees HazardyKnusperkeks
Reporter HazardyKnusperkeks
    Given the code
```c++
LongT foo() const noexcept;
T bar(int arg, int arg2, int arg3,
      int loooooooooooooooong) noexcept;
```
with `AlignConsecutiveDeclarations: true` and `ColumnLimit: 40` it gets formatted as
```c++
LongT foo() const noexcept;
T     bar(int arg, int arg2, int arg3,
          int loooooooooooooooong) noexcept;
```
which does not fit within the `ColumnLimit`.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to