forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
27 lines (23 loc) · 764 Bytes
/
.clang-format
File metadata and controls
27 lines (23 loc) · 764 Bytes
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
BasedOnStyle: WebKit
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBinaryOperators: None
BreakConstructorInitializers: BeforeColon
IndentCaseLabels: true
SortIncludes: true
SpaceBeforeRangeBasedForLoopColon: false
SpaceBeforeParens: ControlStatements
AlignAfterOpenBracket: Align
NamespaceIndentation: None
MaxEmptyLinesToKeep: 2
#AlignConsecutiveAssignments: true
ColumnLimit: 120
# When breaking up parameter/argument lists across multiple lines,
# put only one per line instead of packing as many as possible.
BinPackArguments: false
BinPackParameters: false
# Control of individual brace wrapping cases.
BreakBeforeBraces: Custom
BraceWrapping:
BeforeCatch: true
# Options for aligning backslashes in escaped newlines.
AlignEscapedNewlines: Left