-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
51 lines (50 loc) · 1.4 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
BasedOnStyle: LLVM
Language: Cpp
ColumnLimit: 100
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
SortIncludes: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeRangeBasedForLoopColon: true
BinPackArguments: false
BitFieldColonSpacing: Both
BreakBeforeBraces: Custom
BraceWrapping:
IndentBraces: false
AfterClass: true
AfterStruct: true
BeforeCatch: true
BeforeElse: true
AfterEnum: true
AfterUnion: true
AfterFunction: true
SplitEmptyFunction: false
SplitEmptyRecord: true
BeforeLambdaBody: false
BeforeWhile: true
AfterControlStatement: Always
AfterCaseLabel: false
AfterNamespace: true
AfterExternBlock: true