0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 15: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
IndentWidth: 4
AccessModifierOffset: -2
NamespaceIndentation: All
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
EmptyLineBeforeAccessModifier: LogicalBlock
PointerAlignment: Right