forked from DotBots/DotBot-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
27 lines (27 loc) · 1001 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
---
BasedOnStyle: LLVM
---
Language: Cpp
#AlignArrayOfStructures: Left
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: true
#AlignOperands: true
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
ColumnLimit: 0
Cpp11BracedListStyle: false
IncludeBlocks: Preserve
IndentCaseLabels: true
IndentWidth: 4
SortIncludes: false
SpacesBeforeTrailingComments: 2
UseTab: Never
...