-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
63 lines (56 loc) · 1.1 KB
/
.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
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
IncludeCategories:
- Regex: '^<.*\.h>$'
Priority: 0
- Regex: "^<.*>$"
Priority: 1
- Regex: '^<.*\.(hpp|hh)>$'
Priority: 2
- Regex: "^<(fmt|spdlog|magic_enum|absl|folly)/.*>$"
Priority: 3
- Regex: "^<gtest/.*>$"
Priority: 4
- Regex: '^"include/.*"$'
Priority: 5
- Regex: '^".*"$'
Priority: 6
IncludeIsMainRegex: "(_test)?$"
SortIncludes: Never
IndentWidth: 2
TabWidth: 2
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
SpacesInParensOptions:
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
- Q_SIGNALS
- Q_SIGNAL
- Q_SLOTS
- Q_SLOT
- emit
- signals
- slots
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
- dbg_only
- dbg_block
- dbg
- contract_assert
- TODO
InsertNewlineAtEOF: true
InsertTrailingCommas: Wrapped
IndentPPDirectives: AfterHash
BinPackArguments: false
BinPackParameters: false