Skip to content

[BUG] ColumnLimit not respected #144713

Open
@parmi93

Description

@parmi93

The 100 character per line limit is not respected in this case:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions