From c338820e4db43ad32c20ff429a038b06bcb980f8 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 08 四月 2021 18:13:25 +0800 Subject: [PATCH] BIG change, join center,bus; now msg is head+body. --- .clang-format | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index fd84ae9..413be3a 100644 --- a/.clang-format +++ b/.clang-format @@ -3,21 +3,21 @@ IndentWidth: 4 TabWidth: 4 ColumnLimit: 0 -AllowShortIfStatementsOnASingleLine: true AllowShortCaseLabelsOnASingleLine: true AllowShortBlocksOnASingleLine: true AllowShortEnumsOnASingleLine: true AllowShortLoopsOnASingleLine: true -AllowShortLambdasOnASingleLine: true -AllowShortFunctionsOnASingleLine: true +AllowShortLambdasOnASingleLine: All +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortFunctionsOnASingleLine: All BreakBeforeBraces: Linux IndentCaseLabels: false AccessModifierOffset: -4 BreakConstructorInitializers: AfterColon -AlignConsecutiveAssignments: true -AlignConsecutiveDeclarations: true +ConstructorInitializerAllOnOneLineOrOnePerLine: true +AllowAllConstructorInitializersOnNextLine: true + AlignTrailingComments: true AlignEscapedNewlinesLeft: true PointerAlignment: Right SpaceAfterCStyleCast: true - -- Gitblit v1.8.0