mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-27 17:36:27 +00:00
feat: update clang-format config
This commit is contained in:
parent
399f52135e
commit
dfe3d78e9b
@ -4,9 +4,11 @@ BasedOnStyle: Google
|
|||||||
ColumnLimit: 0
|
ColumnLimit: 0
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
AccessModifierOffset: -2
|
AccessModifierOffset: -2
|
||||||
|
NamespaceIndentation: All
|
||||||
AllowShortLoopsOnASingleLine: true
|
AllowShortLoopsOnASingleLine: true
|
||||||
AllowShortBlocksOnASingleLine: true
|
AllowShortBlocksOnASingleLine: true
|
||||||
AllowShortFunctionsOnASingleLine: Empty
|
AllowShortFunctionsOnASingleLine: Empty
|
||||||
AllowShortCaseLabelsOnASingleLine: true
|
AllowShortCaseLabelsOnASingleLine: true
|
||||||
AllowShortIfStatementsOnASingleLine: true
|
AllowShortIfStatementsOnASingleLine: true
|
||||||
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
|
Loading…
Reference in New Issue
Block a user