0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 06:08:51 +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