]> git.lizzy.rs Git - dragonfireclient.git/blob - .clang-format
Travis: Update clang from 4.0 to 5.0 (#6467)
[dragonfireclient.git] / .clang-format
1 BasedOnStyle: LLVM
2 IndentWidth: 8
3 UseTab: Always
4 BreakBeforeBraces: Custom
5 Standard: Cpp11
6 BraceWrapping:
7   AfterClass: true
8   AfterControlStatement: false
9   AfterEnum: true
10   AfterFunction: true
11   AfterNamespace: true
12   AfterStruct: true
13   AfterUnion: true
14   BeforeCatch: false
15   BeforeElse: false
16 AllowShortIfStatementsOnASingleLine: false
17 IndentCaseLabels: false
18 AccessModifierOffset: -8
19 ColumnLimit: 90
20 AllowShortFunctionsOnASingleLine: InlineOnly
21 SortIncludes: false
22 IncludeCategories:
23   - Regex:           '^".*'
24     Priority:        2
25   - Regex:           '^<.*'
26     Priority:        1
27 AlignAfterOpenBracket: DontAlign
28 ContinuationIndentWidth: 16
29 ConstructorInitializerIndentWidth: 16
30 BreakConstructorInitializers: AfterColon