-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.clang-format
More file actions
30 lines (27 loc) · 782 Bytes
/
.clang-format
File metadata and controls
30 lines (27 loc) · 782 Bytes
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
BasedOnStyle: llvm
BreakBeforeBraces: Custom
BraceWrapping:
BeforeElse: true
BeforeCatch: true
AccessModifierOffset: -4
AlignEscapedNewlines: Right
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakConstructorInitializers: BeforeColon
ColumnLimit: 90
ConstructorInitializerAllOnOneLineOrOnePerLine: true
IndentWidth: 4
NamespaceIndentation: None
PointerAlignment: Left
SortIncludes: true
SortUsingDeclarations: true
SpacesBeforeTrailingComments: 2
SpacesInSquareBrackets: false
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
PenaltyBreakAssignment: 60
PenaltyBreakBeforeFirstCallParameter: 175