Issue 144713
Summary [BUG] `ColumnLimit` not respected
Labels new issue
Assignees
Reporter parmi93
    The 100 character per line limit is not respected in this case:

```c
void tmp()
{
    if (true)
    {
 if (true)
        {
            int blablabla = 0;
            int fooaaa = ps->cfg_section->callback((void *)ps->cfg_section->arg,
 CFG_OP_GET_FOR_WRITE, ps->cfg_param, &cfg_value);
        }
    }
}
```

clang-format:
```
BasedOnStyle: LLVM
UseTab: Never
IndentWidth: 4
TabWidth: 4
BreakBeforeBraces: Allman
AllowShortIfStatementsOnASingleLine: false
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
IndentCaseLabels: false
ColumnLimit: 100
AccessModifierOffset: -4
NamespaceIndentation: All
FixNamespaceComments: false
SortIncludes: false
AllowShortFunctionsOnASingleLine: false
InsertNewlineAtEOF: true
LineEnding: LF
KeepEmptyLinesAtTheStartOfBlocks: false
BraceWrapping:
  AfterControlStatement: true
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to