-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-format
35 lines (34 loc) · 979 Bytes
/
.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
---
IndentWidth: 4
ColumnLimit: 100
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BreakAfterAttributes: Always
BreakBeforeBraces: Whitesmiths
BreakBeforeTernaryOperators: false
Cpp11BracedListStyle: false
IncludeBlocks: Merge
IndentCaseLabels: false
InsertNewlineAtEOF: true
LineEnding: LF
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
PointerAlignment: Left
QualifierAlignment: Custom
QualifierOrder: ['inline', 'constexpr', 'static', 'const', 'volatile', 'restrict', 'friend', 'type']
ReferenceAlignment: Left
ReflowComments: true
RemoveSemicolon: true
SeparateDefinitionBlocks: Always
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
UseTab: Never
AlwaysBreakTemplateDeclarations: Yes
SpaceAfterTemplateKeyword: false
AlignAfterOpenBracket: Align
InsertBraces: true
IndentPPDirectives: BeforeHash