format:clang format style updated

This commit is contained in:
xiaoyifang 2022-02-12 20:59:32 +08:00
parent d62b80d868
commit 998def92d2

View file

@ -3,8 +3,8 @@
AllowShortFunctionsOnASingleLine: None AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: true AllowShortIfStatementsOnASingleLine: true
BasedOnStyle: LLVM BasedOnStyle: LLVM
BinPackParameters: false
BinPackArguments: false BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Allman BreakBeforeBraces: Allman
BreakConstructorInitializers: AfterColon BreakConstructorInitializers: AfterColon
ColumnLimit: 160 ColumnLimit: 160
@ -12,4 +12,7 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth : 2 ConstructorInitializerIndentWidth : 2
ContinuationIndentWidth: 2 ContinuationIndentWidth: 2
MaxEmptyLinesToKeep: 2 MaxEmptyLinesToKeep: 2
PointerAlignment: Middle
SpacesInAngles: true
SpacesInParentheses: true
... ...