forked from picolibc/picolibc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
72 lines (72 loc) · 1.56 KB
/
Copy path.clang-format
File metadata and controls
72 lines (72 loc) · 1.56 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
BasedOnStyle: WebKit
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Left
AlignConsecutiveBitFields:
Enabled: true
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignFunctionDeclarations: true
AlignFunctionPointers: true
PadOperators: true
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AlignEscapedNewlines: LeftWithLastLine
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowShortFunctionsOnASingleLine: Inline
AttributeMacros:
- '__pure'
- '__picolibc_format'
- '__nonnull'
- '__returns_nonnull'
- '__alloc_size'
- '__alloc_size2'
- '__alooc_align'
- '__noreturn'
- '__const'
- '__unused'
- '__used'
- '__packed'
- '__aligned'
- '__section'
- '__naked'
- '__noinline'
- '__always_inline'
- '__warn_unused_result'
- '__weak'
- '__nothrow'
- '__no_sanitize_address'
- '__no_sanitize'
- '__no_sanitize_undefined'
- '__disable_sanitizer_instrumentation'
- '__disable_sanitizer'
- '__deprecated_m'
- '__deprecated'
- '__no_builtin'
- '__malloc_like_with_free'
- '__malloc_like'
- '__returns_twice'
BreakAfterReturnType: AllDefinitions
ColumnLimit: 100
PointerAlignment: Right
SortIncludes:
Enabled: false
SpaceAroundPointerQualifiers: Before
StatementMacros:
- '__ssp_redirect'
- '__ssp_redirect_raw'
- '__ssp_redirect_wc'
- '__ssp_redirect0'
- '__ssp_bos_wicheck3'
- '__ssp_bos_wicheck3_restrict'
- '__ssp_bos_wicheck2_restrict'
TypenameMacros:
- '__declare_extern_inline'
- '__strong_reference'
- '__weak_reference'
...