minetest/.clang-format

34 lines
808 B
Plaintext
Raw Normal View History

BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Always
TabWidth: 4
2017-04-06 15:27:47 +02:00
BreakBeforeBraces: Custom
2023-06-29 18:57:55 +02:00
Standard: c++17
2017-04-06 15:27:47 +02:00
BraceWrapping:
AfterClass: true
2023-06-29 18:57:55 +02:00
AfterControlStatement: Never
2017-04-06 15:27:47 +02:00
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: false
BeforeElse: false
FixNamespaceComments: false
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
AccessModifierOffset: -4
ColumnLimit: 90
AllowShortFunctionsOnASingleLine: InlineOnly
2023-06-29 18:57:55 +02:00
SortIncludes: Never
IncludeCategories:
- Regex: '^".*'
Priority: 2
- Regex: '^<.*'
Priority: 1
AlignAfterOpenBracket: DontAlign
ContinuationIndentWidth: 8
ConstructorInitializerIndentWidth: 8
BreakConstructorInitializers: AfterColon
AlwaysBreakTemplateDeclarations: Yes