-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
30 lines (29 loc) · 928 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
Language: Cpp
BasedOnStyle: WebKit
IndentWidth: 4
ColumnLimit: 120
# Force pointers/references to the type for C++.
# See: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rl-ptr
DerivePointerAlignment: false
AlignAfterOpenBracket: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
IndentCaseLabels: false
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: false
AlwaysBreakTemplateDeclarations: true
SpaceBeforeAssignmentOperators: true
SpacesInSquareBrackets: false
Cpp11BracedListStyle: true
NamespaceIndentation: All