This repository was archived by the owner on Jul 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
68 lines (64 loc) · 2.09 KB
/
.clang-tidy
File metadata and controls
68 lines (64 loc) · 2.09 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
---
Checks: '
bugprone-*,
cert-*,
clang-analyzer-*,
misc-*,
performance-*,
portability-*,
readability-*,
-readability-magic-numbers,
-readability-identifier-length,
-readability-function-cognitive-complexity,
-readability-avoid-nested-conditional-operator,
-readability-non-const-parameter,
-readability-implicit-bool-conversion,
-readability-const-return-type,
-readability-identifier-naming,
-misc-const-correctness,
-performance-unnecessary-value-param,
-modernize-use-cxx-headers,
-cert-err33-c,
-clang-analyzer-unix.MallocSizeof,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-bugprone-multi-level-implicit-pointer-conversion,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-security.insecureAPI.strcpy,
-clang-analyzer-optin.performance.Padding,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion'
WarningsAsErrors: ''
HeaderFilterRegex: '.*\.h$'
FormatStyle: file
CheckOptions:
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.GlobalVariableCase
value: lower_case
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.TypedefCase
value: lower_case
- key: readability-identifier-naming.TypedefSuffix
value: _t
- key: readability-identifier-naming.EnumCase
value: lower_case
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-braces-around-statements.ShortStatementLines
value: 2
- key: readability-function-size.LineThreshold
value: 150
- key: readability-function-size.ParameterThreshold
value: 10