-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
executable file
·37 lines (37 loc) · 1.11 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
BasedOnStyle: LLVM
AccessModifierOffset: '-4'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Always
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBraces: Attach
BreakConstructorInitializers: AfterColon
CompactNamespaces: 'false'
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: 'false'
MaxEmptyLinesToKeep: '3'
NamespaceIndentation: All
PenaltyBreakBeforeFirstCallParameter: '10'
PointerAlignment: Left
ReflowComments: 'false'
SortIncludes: 'true'
SpacesBeforeTrailingComments: '1'
TabWidth: 4
UseTab: 'Never'
# AlignTrailingComments: 'true'
AlignAfterOpenBracket: 'BlockIndent'
AlwaysBreakAfterReturnType: 'None'
SortUsingDeclarations: 'true'
PenaltyReturnTypeOnItsOwnLine: '999999'
IndentCaseLabels: 'true'
IndentPPDirectives: 'BeforeHash'
ColumnLimit: 120
# AlignArrayOfStructures: 'Left'
InsertTrailingCommas: 'Wrapped'
# IndentPragmas: 'AfterHash'