-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
45 lines (45 loc) · 1.24 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
Language: Cpp
BasedOnStyle: LLVM
Standard: Auto
UseTab: Always
TabWidth: 4
IndentWidth: 4
PointerAlignment: Right
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
BinPackArguments: false
BinPackParameters: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
SpacesBeforeTrailingComments: 1
AlignEscapedNewlines: Right
BreakConstructorInitializers: AfterColon
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
SpaceBeforeAssignmentOperators: true
SpaceAfterTemplateKeyword: true
SpaceBeforeParens: ControlStatements
BreakBeforeTernaryOperators: true
CompactNamespaces: true