0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 16:16:28 +00:00

feat: update clang-format config

This commit is contained in:
Baoshuo Ren 2021-11-26 13:29:23 +08:00 committed by Baoshuo Ren
parent 399f52135e
commit dfe3d78e9b
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -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