From 244e10bf7d0975caec9bf2d6f56f0b7a99b16d3a Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 15 Jan 2022 12:46:18 +0200 Subject: [PATCH] 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. --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index a3545491..4e0db12d 100644 --- a/.clang-format +++ b/.clang-format @@ -15,11 +15,11 @@ AllowShortIfStatementsOnASingleLine: 'false' AllowShortLambdasOnASingleLine: 'All' AlwaysBreakAfterReturnType: 'TopLevelDefinitions' BraceWrapping: -BeforeLambdaBody: 'false' +# BeforeLambdaBody: 'false' BinPackArguments: 'false' BinPackParameters: 'false' BreakBeforeBraces: 'WebKit' -ColumnLimit: '100' +ColumnLimit: '0' Cpp11BracedListStyle: 'true' DerivePointerAlignment: 'false' IndentCaseLabels: 'false'