0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 18:11:59 +00:00
OI-codes/.clang-format

15 lines
381 B
YAML

---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 0
IndentWidth: 4
AccessModifierOffset: -2
NamespaceIndentation: All
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
EmptyLineBeforeAccessModifier: LogicalBlock
PointerAlignment: Right