-
Notifications
You must be signed in to change notification settings - Fork 9
/
.clang-format
26 lines (26 loc) · 789 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
---
BasedOnStyle: WebKit
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: "true"
AlignOperands: "true"
AlignTrailingComments: "true"
AlwaysBreakTemplateDeclarations: "true"
AllowShortBlocksOnASingleLine: "false"
AllowShortCaseLabelsOnASingleLine: "true"
AllowShortFunctionsOnASingleLine: "true"
AllowShortIfStatementsOnASingleLine: "true"
AllowShortLoopsOnASingleLine: "true"
BreakBeforeBraces: Allman
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: "true"
Cpp11BracedListStyle: "true"
FixNamespaceComments: "true"
KeepEmptyLinesAtTheStartOfBlocks: "false"
Language: Cpp
MaxEmptyLinesToKeep: "1"
NamespaceIndentation: None
PointerAlignment: Left
ReflowComments: "true"
SortIncludes: "true"
SpaceBeforeAssignmentOperators: "true"
SpacesBeforeTrailingComments: "2"