Files
OpenRA3/.clang-format
T

31 lines
816 B
YAML

---
Language: Cpp
BasedOnStyle: LLVM
Standard: c++20
UseTab: Never
IndentWidth: 4
TabWidth: 4
NamespaceIndentation: All
AccessModifierOffset: -4
IndentCaseLabels: true
ColumnLimit: 150
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 1
PointerAlignment: Right
ReferenceAlignment: Right
DerivePointerAlignment: false
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: Inline
Cpp11BracedListStyle: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
BreakConstructorInitializers: BeforeColon
ConstructorInitializerIndentWidth: 4
BinPackParameters: false
BinPackArguments: true
AlignAfterOpenBracket: Align
SpaceBeforeRangeBasedForLoopColon: false
AlwaysBreakTemplateDeclarations: Yes
SortIncludes: Never
FixNamespaceComments: false