-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
44 lines (43 loc) · 1.4 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
---
Checks: "-*,\
clang-diagnostic-*,\
-clang-diagnostic-pragma-pack,\
clang-analyzer-*,\
performance-*,\
-performance-no-int-to-ptr,\
-performance-noexcept-move-constructor,\
portability-*,\
bugprone-*,\
-bugprone-easily-swappable-parameters,\
-bugprone-exception-escape,\
-bugprone-infinite-loop,\
-bugprone-integer-division,\
-bugprone-macro-parentheses,\
-bugprone-reserved-identifier,\
-bugprone-suspicious-include,\
misc-*,\
-misc-non-private-member-variables-in-classes,\
-misc-unused-parameters,\
cppcoreguidelines-*,\
-cppcoreguidelines-avoid-c-arrays,\
-cppcoreguidelines-avoid-magic-numbers,\
-cppcoreguidelines-avoid-non-const-global-variables,\
-cppcoreguidelines-macro-usage,\
-cppcoreguidelines-no-malloc,\
-cppcoreguidelines-non-private-member-variables-in-classes,\
-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-cstyle-cast,\
-cppcoreguidelines-pro-type-member-init,\
-cppcoreguidelines-pro-type-vararg,\
-cppcoreguidelines-special-member-functions,\
google-explicit-constructor,\
modernize-*,\
-modernize-avoid-c-arrays,\
-modernize-deprecated-headers,\
-modernize-use-nodiscard,\
-modernize-use-trailing-return-type"
...