-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
36 lines (35 loc) · 1.07 KB
/
Copy path.clang-format
File metadata and controls
36 lines (35 loc) · 1.07 KB
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
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: DontAlign
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
BinPackArguments: false
BinPackParameters: AlwaysOnePerLine
BreakAfterOpenBracketFunction: true
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
IndentPPDirectives: AfterHash
PPIndentWidth: 2
IndentCaseLabels: false
InsertNewlineAtEOF: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpacesInSquareBrackets: false
Cpp11BracedListStyle: true
NamespaceIndentation: All
PenaltyExcessCharacter: 5
PointerAlignment: Left
SpaceBeforeCpp11BracedList: false