mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 08:57:30 +01:00
a6a04c4b5b
This change permits to use up-to-date compilers, clang-tidy and clang-format It also refactor the tidy/format step to drop the binary selection from scripts and perform it directly in travis
32 lines
761 B
YAML
32 lines
761 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 8
|
|
UseTab: Always
|
|
BreakBeforeBraces: Custom
|
|
Standard: Cpp11
|
|
BraceWrapping:
|
|
AfterClass: true
|
|
AfterControlStatement: false
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterNamespace: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
FixNamespaceComments: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
IndentCaseLabels: false
|
|
AccessModifierOffset: -8
|
|
ColumnLimit: 90
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
SortIncludes: false
|
|
IncludeCategories:
|
|
- Regex: '^".*'
|
|
Priority: 2
|
|
- Regex: '^<.*'
|
|
Priority: 1
|
|
AlignAfterOpenBracket: DontAlign
|
|
ContinuationIndentWidth: 16
|
|
ConstructorInitializerIndentWidth: 16
|
|
BreakConstructorInitializers: AfterColon
|