-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
50 lines (49 loc) · 1.39 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
BasedOnStyle: LLVM
Language: Cpp
ColumnLimit: 90
IndentWidth: 4
UseTab: Never
PointerAlignment: Left
SpacesBeforeTrailingComments: 2
NamespaceIndentation: Inner
FixNamespaceComments: false
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AlignAfterOpenBracket: AlwaysBreak
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
BreakBeforeConceptDeclarations: true
BreakConstructorInitializers: BeforeColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
IndentWrappedFunctionNames: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeRangeBasedForLoopColon: true
BinPackArguments: false
BitFieldColonSpacing: Both
BreakBeforeBraces: Custom
BraceWrapping:
IndentBraces: false
AfterClass: true
AfterStruct: true
BeforeCatch: true
BeforeElse: true
AfterEnum: false
AfterUnion: false
AfterFunction: false
SplitEmptyFunction: false
SplitEmptyRecord: true
BeforeLambdaBody: false
BeforeWhile: false
AfterControlStatement: Never
AfterCaseLabel: false
AfterNamespace: false
AfterExternBlock: false