-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
51 lines (44 loc) · 1.5 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
46
47
48
49
50
51
BasedOnStyle: LLVM
IndentWidth: 4
# The starting brace { is always on the next line.
BreakBeforeBraces: Allman
# function name below return type in a function declaration.
AlwaysBreakAfterDefinitionReturnType: All
# Align all parameters with the open bracket during a function call.
AlignAfterOpenBracket: Align
PointerAlignment: Right
ReferenceAlignment: Pointer
# Align consecutive equals to be aligned.
AlignConsecutiveAssignments: Consecutive
# AlignConsecutiveDeclarations: Consecutive
AlignTrailingComments: true
BinPackArguments: true
BinPackParameters: true
# AllowAllArgumentsOnNextLine: true
# ColumnLimit: 125
ReflowComments: true
# BasedOnStyle: Google
# AlignAfterOpenBracket: 'AlwaysBreak'
# IndentWidth: 4
# AlwaysBreakAfterDefinitionReturnType: All
# AllowAllConstructorInitializersOnNextLine: 'false'
# AllowAllParametersOfDeclarationOnNextLine: 'false'
# AlignConsecutiveMacros: 'true'
# AlignConsecutiveAssignments: true
# AllowShortCaseLabelsOnASingleLine: 'true'
# AllowShortFunctionsOnASingleLine: 'None'
# AllowShortIfStatementsOnASingleLine: 'Never'
# AllowShortLoopsOnASingleLine: 'false'
# BreakBeforeBraces: Allman
# BinPackArguments: 'false'
# BinPackParameters: 'false'
# Cpp11BracedListStyle: 'false'
# ColumnLimit: 125
# NamespaceIndentation: All
# SpaceAfterTemplateKeyword: 'false'
# SpaceBeforeCtorInitializerColon: 'true'
# SpaceBeforeInheritanceColon: 'true'
# SpaceBeforeParens: ControlStatements
# SpaceBeforeRangeBasedForLoopColon: 'true'
# SpaceInEmptyBlock: true
# Standard: 'Latest'