OpenRCT2/.clang-format

27 lines
626 B
YAML

---
BasedOnStyle: LLVM
AccessModifierOffset: '-4'
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'true'
AllowShortFunctionsOnASingleLine: Empty
BinPackParameters: 'false'
BreakBeforeBraces: Allman
ColumnLimit: '128'
Cpp11BracedListStyle: 'false'
IncludeCategories:
- Regex: '^"(\.{1,2}/)*common\.h"$'
Priority: -1
- Regex: '^<.*>$'
Priority: 1
- Regex: '^".*"$'
Priority: 2
IncludeIsMainRegex: 'false'
IndentWidth: '4'
PointerAlignment: Middle
SortIncludes: 'true'
Standard: Cpp11
TabWidth: '4'
...