-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-tidy
51 lines (51 loc) · 2.08 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
Checks: >
-*,bugprone-*,cert-*,clang-analyzer-*,cppcoreguidelines-*,misc-*,modernize-*,performance-*,portability-*,readability-*,
-modernize-use-trailing-return-type,
-readability-identifier-length,
-readability-braces-around-statements,
-readability-magic-numbers,
-readability-implicit-bool-conversion,
-cppcoreguidelines-avoid-magic-numbers,
-misc-no-recursion,
-readability-qualified-auto,
-misc-non-private-member-variables-in-classes,
-readability-use-anyofallof,
-readability-function-cognitive-complexity,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-init-variables,
-bugprone-branch-clone,
-cppcoreguidelines-special-member-functions,
-readability-named-parameter,
-readability-isolate-declaration,
-cppcoreguidelines-pro-bounds-*,
-cppcoreguidelines-pro-type-member-init,
-cert-err58-cpp,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-macro-usage,
-modernize-use-default-member-init,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-core.DivideZero,
-clang-analyzer-core.UndefinedBinaryOperatorResult
WarningsAsErrors: '*'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberCase
value: CamelCase
- key: readability-identifier-naming.PrivateMemberPrefix
value: 'm'
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.PublicMemberCase
value: camelBack