forked from OpenRTX/OpenRTX
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.clang-format
35 lines (33 loc) · 882 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
31
32
33
34
35
---
BasedOnStyle: Google
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments
AlignTrailingComments: 'true'
AlignConsecutiveAssignments: Consecutive
AllowShortFunctionsOnASingleLine: 'false'
ColumnLimit: '80'
DerivePointerAlignment: 'false'
IndentExternBlock: NoIndent
IndentWidth: '4'
NamespaceIndentation: Inner
BinPackParameters: 'false'
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: 'true'
AfterClass: 'true'
AfterControlStatement: Always
AfterEnum: 'true'
AfterFunction: 'true'
AfterNamespace: 'true'
AfterObjCDeclaration: 'true'
AfterStruct: 'true'
AfterUnion: 'true'
AfterExternBlock: 'false'
BeforeCatch: 'true'
BeforeElse: 'true'
BeforeLambdaBody: 'true'
BeforeWhile: 'false'
IndentBraces: 'false'
SplitEmptyFunction: 'true'
SplitEmptyRecord: 'true'
SplitEmptyNamespace: 'true'
...