clang-format: tweak

Don't set the column-limit, since clang-format interprets that as "the length
any line should aspire to" rather than "the length no line shall pass".

It shouldn't mangle shorter lines.
This commit is contained in:
Dirk-Jan C. Binnema
2022-01-15 12:46:18 +02:00
parent e5ead56b2a
commit 244e10bf7d

View File

@ -15,11 +15,11 @@ AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLambdasOnASingleLine: 'All' AllowShortLambdasOnASingleLine: 'All'
AlwaysBreakAfterReturnType: 'TopLevelDefinitions' AlwaysBreakAfterReturnType: 'TopLevelDefinitions'
BraceWrapping: BraceWrapping:
BeforeLambdaBody: 'false' # BeforeLambdaBody: 'false'
BinPackArguments: 'false' BinPackArguments: 'false'
BinPackParameters: 'false' BinPackParameters: 'false'
BreakBeforeBraces: 'WebKit' BreakBeforeBraces: 'WebKit'
ColumnLimit: '100' ColumnLimit: '0'
Cpp11BracedListStyle: 'true' Cpp11BracedListStyle: 'true'
DerivePointerAlignment: 'false' DerivePointerAlignment: 'false'
IndentCaseLabels: 'false' IndentCaseLabels: 'false'