-
Notifications
You must be signed in to change notification settings - Fork 7
/
.clang-format
36 lines (35 loc) · 1.07 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
BasedOnStyle: LLVM
TabWidth: 4
IndentWidth: 4
UseTab: ForIndentation
DerivePointerAlignment: false
PointerAlignment: Left
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignAfterOpenBracket: Align
AlignTrailingComments: true
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveAssignments: Consecutive
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
ColumnLimit: 120
IncludeBlocks: Merge
SortIncludes: CaseSensitive
Language: Cpp
AccessModifierOffset: -4
BreakConstructorInitializers: BeforeComma
AllowShortBlocksOnASingleLine: Always
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
CompactNamespaces: true
BinPackArguments: false
BinPackParameters: false