forked from jessey-git/fx-gltf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
49 lines (40 loc) · 1.17 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Language: Cpp
IndentWidth: 4
UseTab: Never
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignTrailingComments: false
AlignOperands: false
AlwaysBreakTemplateDeclarations: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
BinPackParameters: true
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
IndentCaseBlocks: true
IndentCaseLabels: false
IndentPPDirectives: BeforeHash
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
FixNamespaceComments: true
DerivePointerAlignment: false
PointerAlignment: Middle
SortIncludes: true
SpaceBeforeParens: ControlStatements
Standard: Cpp11
IncludeCategories:
- Regex: '.*(stdafx).*'
Priority: -2
- Regex: '^<.*'
Priority: -1
- Regex: '^".*'
Priority: 0