forked from citizenfx/lmprof
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
44 lines (41 loc) · 1.04 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
BasedOnStyle: WebKit
AlignOperands: true
BraceWrapping:
AfterControlStatement: false
AfterFunction: false
AfterNamespace: false
AfterStruct: false
BeforeCatch: true
BeforeElse: true
AfterClass: false
AfterCaseLabel: false
AfterEnum: false
AfterUnion: false
IndentBraces: false
AfterExternBlock: true
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: false
BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeColon
ConstructorInitializerIndentWidth: 2
SortIncludes: false
SpaceAfterTemplateKeyword: false
SpaceBeforeCpp11BracedList: false
# not supported in whatever MSVC bundles
#SpaceInEmptyBlock: false
AccessModifierOffset: -2
TabWidth: 2
IndentWidth: 2
UseTab: Never
ContinuationIndentWidth: 0
BinPackArguments: true
BinPackParameters: true
PointerAlignment: Right
AlignAfterOpenBracket: DontAlign
IndentCaseBlocks: false
IndentCaseLabels: true
NamespaceIndentation: All
IndentPPDirectives: BeforeHash
SpacesBeforeTrailingComments: 2