syncfiles/.clang-format

24 lines
530 B
Plaintext
Raw Normal View History

---
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
BreakBeforeBraces: Linux