forked from VKCOM/kphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
65 lines (64 loc) · 1.99 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
53
54
55
56
57
58
59
60
61
62
63
64
65
---
Checks: |-
*,
-android-*,
-altera-*,
-*-bool-pointer-implicit-conversion,
-cert-dcl50-cpp,
-cert-dcl59-cpp,
-cert-err58-cpp,
-clang-diagnostic-*,
-clang-analyzer-*,
-*-avoid-c-arrays,
-*-narrowing-conversions,
-*-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-reinterpret-cast,
-cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-no-malloc,
-fuchsia-*,
-google-*,
google-default-arguments,
google-runtime-operator,
google-readability-casting,
-hicpp-no-array-decay,
-hicpp-no-assembler,
-hicpp-signed-bitwise,
-hicpp-special-member-functions,
-hicpp-vararg,
-hicpp-no-malloc,
-llvm-*,
llvm-namespace-comment,
-llvmlibc-*,
-modernize-use-trailing-return-type,
-objc-*,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-readability-convert-member-functions-to-static,
-*-magic-numbers,
-modernize-use-nodiscard,
-modernize-concat-nested-namespaces,
-readability-named-parameter,
-readability-identifier-length,
-bugprone-easily-swappable-parameters,
-misc-no-recursion,
-misc-const-correctness,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-macro-usage
CheckOptions:
- key: bugprone-suspicious-string-compare.WarnOnImplicitComparison
value: 0
- key: bugprone-dangling-handle.HandleClasses
value: 'vk::string_view'
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: 1
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: 1
...