-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
113 lines (101 loc) · 3.17 KB
/
.clang-tidy
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Checks: >
*-,
bugprone-*,
-bugprone-casting-through-void,
-bugprone-easily-swappable-parameters,
-bugprone-exception-escape,
-bugprone-forwarding-reference-overload,
-bugprone-inc-dec-in-conditions,
-bugprone-macro-parentheses,
-bugprone-unhandled-self-assignment,
-bugprone-signed-char-misuse,
-clang-analyzer-core.*,
-clang-analyzer-cplusplus.PlacementNew,
cert-*,
-cert-str34-c,
-cert-oop54-cpp,
-cert-err58-cpp,
concurrency-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-c-copy-assignment-signature,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-macro-to-enum,
-cppcoreguidelines-missing-std-forward,
-cppcoreguidelines-noexcept-move-operations,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-rvalue-reference-param-not-moved,
hicpp-*,
-hicpp-deprecated-headers,
-hicpp-exception-baseclass,
-hicpp-explicit-conversions,
-hicpp-function-size,
-hicpp-no-array-decay,
-hicpp-no-assembler,
-hicpp-noexcept-move,
-hicpp-signed-bitwise,
misc-*,
-misc-const-correctness,
-misc-no-recursion,
-misc-redundant-expression,
-misc-unconventional-assign-operator,
-misc-use-anonymous-namespace,
-misc-include-cleaner,
modernize-*,
-modernize-deprecated-headers,
-modernize-use-constraints,
-modernize-use-std-numbers,
-modernize-use-std-print,
performance-*,
-performance-enum-size,
-performance-no-int-to-ptr,
-performance-noexcept-move-constructor,
readability-*,
readability-identifier-naming,
-readability-avoid-nested-conditional-operator,
-readability-container-size-empty,
-readability-function-cognitive-complexity,
-readability-function-size,
-readability-identifier-length,
-readability-redundant-casting,
-readability-suspicious-call-argument,
-readability-qualified-auto,
-*-avoid-c-arrays,
-*-magic-numbers,
-*-member-init,
-*-noexcept-destructor,
-*-noexcept-swap,
-*-non-private-member-variables-in-classes,
-*-use-equals-default,
-*-special-member-functions,
-*-vararg
WarningsAsErrors: "*"
FormatStyle: none
CheckOptions:
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
value: true
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.PublicMemberCase
value: lower_case
- key: readability-identifier-naming.PublicMethodCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberSuffix
value: ""
- key: readability-identifier-naming.PrivateMemberPrefix
value: _
- key: readability-identifier-naming.TemplateParameterCase
value: CamelCase