forked from aws-greengrass/aws-greengrass-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
30 lines (30 loc) · 743 Bytes
/
.clang-format
File metadata and controls
30 lines (30 loc) · 743 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
28
29
30
---
Language: Cpp
BasedOnStyle: WebKit
AlignAfterOpenBracket: BlockIndent
AlignEscapedNewlines: DontAlign
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: WithoutElse
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Attach
ColumnLimit: 80
IncludeBlocks: Merge
IncludeCategories:
- Regex: '^".*"$'
Priority: 1
- Regex: "^<sys/types.h>$"
Priority: 2
- Regex: "^<std.*>$"
Priority: 4
- Regex: "^<.*>$"
Priority: 3
KeepEmptyLinesAtTheStartOfBlocks: false
PointerAlignment: Right
QualifierAlignment: Left
SeparateDefinitionBlocks: Always
SpaceAfterCStyleCast: true
PenaltyReturnTypeOnItsOwnLine: 240
WhitespaceSensitiveMacros:
- EMBED_FILE