From 4ad4f24f18cf7d0af22ca885baebc6a3eb37e7d0 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 20 五月 2021 10:08:40 +0800 Subject: [PATCH] rename socket.h/cpp to shm_socket.h/cpp. --- .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