-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.clang-tidy
30 lines (28 loc) · 1004 Bytes
/
.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
Checks: >-
-*,
readability-identifier-naming,
cppcoreguidelines-*,
bugprone-*,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-no-malloc,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-avoid-magic-numbers,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-pro-bounds-constant-array-index,
-bugprone-assignment-in-if-condition,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-member-init,
WarningsAsErrors: ''
CheckOptions:
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.ClassMethodCase
value: CamelCase
- key: readability-identifier-naming.MethodCase
value: CamelCase
- key: cppcoreguidelines-avoid-non-const-global-variables.AllowInternalLinkage
value: true