-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-tidy
40 lines (40 loc) · 1.52 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
Checks: >
-*,
bugprone-*,
cert-*,
clang-analyzer-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
clang-diagnostic-warning,
-readability-uppercase-literal-suffix,
-readability-magic-numbers,
-modernize-avoid-c-arrays,
-readability-identifier-length,
-modernize-use-trailing-return-type,
-readability-function-cognitive-complexity,
-bugprone-easily-swappable-parameters,
-misc-non-private-member-variables-in-classes,
-readability-named-parameter,
-readability-redundant-member-init,
-cert-dcl16-c,
-modernize-use-nodiscard,
-clang-analyzer-core.UndefinedBinaryOperatorResult,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-core.uninitialized.Assign,
-clang-analyzer-core.uninitialized.UndefReturn,
-misc-include-cleaner,
-readability-function-size,
-readability-avoid-unconditional-preprocessor-if,
WarningsAsErrors: '*'
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: lower_case }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.FunctionIgnoredRegexp, value: (TEST|TYPED).*}
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
- { key: readability-identifier-naming.ParameterIgnoredRegexp, value: .+_$ }
- { key: readability-identifier-naming.EnumCase, value: lower_case }
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
- { key: readability-identifier-naming.MacroDefinitionIgnoredRegexp, value: TypeParam|.+_$ }