-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
52 lines (52 loc) · 1.9 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
Checks: >-
clang-diagnostic-*,
clang-analyzer-*,
modernize-*,
cppcoreguidelines-*,
readability-*,
performance-*,
bugprone-*,
misc-*,
llvm-prefer-isa-or-dyn-cast-in-conditionals,
cert-oop58-cpp,
google-readability-todo,
google-readability-casting,
google-runtime-int,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
-bugprone-exception-escape,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-avoid-magic-numbers,
-readability-identifier-length,
-readability-braces-around-statements,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-unused-using-decls
CheckOptions:
- key: google-runtime-int.TypeSuffix
value: _t
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberPrefix
value: m_
- key: readability-identifier-naming.PublicMemberPrefix
value: REMOVE_M_PREFIX
- key: readability-identifier-naming.PublicMemberIgnoredRegexp
value: '(.?$|[^m].+|m[^_].*)'
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.LocalVariableCase
value: lower_case
- key: readability-identifier-naming.StaticConstantCase
value: UPPER_CASE
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: true
- key: readability-function-cognitive-complexity.IgnoreMacros
value: true
FormatStyle: file