forked from nem0/LumixEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
42 lines (39 loc) · 1.2 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
BasedOnStyle: LLVM
AlignAfterOpenBracket : false
AlignEscapedNewlinesLeft : true
AlignConsecutiveAssignments : false
AllowAllParametersOfDeclarationOnNextLine : false
AccessModifierOffset : -4
AllowShortCaseLabelsOnASingleLine : true
AllowShortFunctionsOnASingleLine : Inline
AllowShortIfStatementsOnASingleLine : true
AllowShortLoopsOnASingleLine : true
AlwaysBreakAfterDefinitionReturnType : None
BinPackArguments : false
BinPackParameters : false
BreakBeforeBraces : Allman
BreakConstructorInitializersBeforeComma : true
ColumnLimit : 120
ConstructorInitializerIndentWidth : 4
ConstructorInitializerAllOnOneLineOrOnePerLine : false
ContinuationIndentWidth : 4
IndentCaseLabels : true
IndentWidth : 4
KeepEmptyLinesAtTheStartOfBlocks : true
MaxEmptyLinesToKeep : 2
NamespaceIndentation : None
PenaltyBreakBeforeFirstCallParameter : 0
PenaltyReturnTypeOnItsOwnLine : 1000
PointerAlignment : Left
SpaceAfterCStyleCast : false
SpaceBeforeAssignmentOperators : true
SpaceBeforeParens : true
SpaceInEmptyParentheses : false
SpacesBeforeTrailingComments : 1
SpacesInAngles : false
SpacesInCStyleCastParentheses : false
SpacesInParentheses : false
SpacesInSquareBrackets : false
Standard : Cpp11
TabWidth : 4
UseTab : true