syncfiles/.clang-format
Dietrich Epp cce3f39184 Clang format
GitOrigin-RevId: 90772439cd008f07b4ead07f68dacf9594eb9d0e
2021-03-17 21:01:02 -04:00

23 lines
505 B
YAML

---
BasedOnStyle: Google
AccessModifierOffset: -4
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
DerivePointerAlignment: false
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^".*'
Priority: 1
- Regex: '^<.*\.h>'
Priority: 3
- Regex: '^<.*'
Priority: 2
IndentCaseLabels: false
IndentWidth: 4
PointerAlignment: Right
SpacesBeforeTrailingComments: 1
Standard: Cpp11
TabWidth: 4
UseTab: AlignWithSpaces