navy/.clang-format
2023-12-10 19:24:57 +01:00

25 lines
619 B
YAML

---
BasedOnStyle: LLVM
UseTab: Never
IndentWidth: 4
TabWidth: 4
BreakBeforeBraces: Allman
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: true
ColumnLimit: 0
AccessModifierOffset: -4
FixNamespaceComments: true
SpaceBeforeInheritanceColon: true
BreakInheritanceList: AfterColon
IndentPPDirectives: AfterHash
ForEachMacros: ["__dummy_foreach"]
AlignConsecutiveMacros: true
SpaceBeforeParens: ControlStatementsExceptForEachMacros
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '<[[:alnum:].\/-]+>'
Priority: 0
SortPriority: 0
- Regex: '"[[:alnum:].\/-]+"'
Priority: 10
SortPriority: 10