From 11f6c600e55ca5677f93624efe44d2605cdd908d Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 21 五月 2021 20:18:38 +0800 Subject: [PATCH] reserve #,@ prefix for internal proc id and topic. --- .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