-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
66 lines (66 loc) · 1.79 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
AccessModifierOffset: -4
AlignArrayOfStructures: Right
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowAllConstructorInitializersOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
BasedOnStyle: Google
BinPackArguments: false
BraceWrapping:
AfterEnum: false
AfterControlStatement: false
BreakBeforeBraces: Attach
BreakConstructorInitializers: BeforeComma
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: false
DerivePointerAlignment: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^\"'
Priority: 100
- Regex: '^<LuaBridge/.*'
Priority: 200
SortPriority: 2
- Regex: '^<[^>]*/'
Priority: 200
SortPriority: 1
- Regex: '^<[^/>]*>'
Priority: 300
IndentAccessModifiers: false
IndentCaseBlocks: true
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentRequiresClause: false
IndentWidth: 4
InsertTrailingCommas: Wrapped
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Left
ReferenceAlignment: Right
ReflowComments: false
RequiresClausePosition: OwnLine
SortIncludes: true
SortUsingDeclarations: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatementsExceptForEachMacros
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
Standard: c++17
TabWidth: 4
UseCRLF: false
UseTab: Never