-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
34 lines (34 loc) · 1.02 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
{
BasedOnStyle: LLVM,
IndentWidth: 4,
NamespaceIndentation: All,
IndentCaseLabels: true,
IndentAccessModifiers: false,
AccessModifierOffset: -4,
UseTab: Never,
KeepEmptyLinesAtTheStartOfBlocks: false,
IncludeBlocks: Regroup,
MaxEmptyLinesToKeep: 1,
ReflowComments: true,
SpacesInLineCommentPrefix: {
Minimum: 1,
Maximum: -1,
},
# PackConstructorInitializers: NextLine,
# QualifierAlignment: Custom,
# QualifierOrder: ['inline', 'constexpr', 'static' , 'volatile', 'const', 'type'],
ColumnLimit: 80,
AlignOperands: Align,
AllowShortCaseLabelsOnASingleLine: true,
AlwaysBreakTemplateDeclarations: Yes,
BinPackParameters: false,
BinPackArguments: false,
PointerAlignment: Middle,
DerivePointerAlignment: false,
BinPackArguments: true,
IndentPPDirectives: BeforeHash,
BreakBeforeBinaryOperators: NonAssignment,
Cpp11BracedListStyle: false,
SpaceBeforeCpp11BracedList: true,
IndentWrappedFunctionNames: true,
}