-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
73 lines (56 loc) · 1.88 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
66
67
68
69
70
71
72
73
---
Checks: >
*
-abseil-*,
-fuchsia-*,
-hicpp-*,
-altera-struct-pack-align,
-android-cloexec-fopen,
-bugprone-reserved-identifier,
-cert-dcl37-c,
-cert-dcl51-cpp,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-diagnostic-empty-translation-unit,
-clang-diagnostic-missing-braces,
-clang-diagnostic-unused-parameter,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-no-malloc,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
-google-explicit-constructor,
-google-readability-namespace-comments,
-google-readability-todo,
-llvm-else-after-return,
-llvm-header-guard,
-llvm-include-order,
-llvmlibc-*,
-llvm-namespace-comment,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
-modernize-avoid-c-arrays,
-modernize-redundant-void-arg,
-modernize-return-braced-init-list,
-modernize-use-auto,
-modernize-use-trailing-return-type,
-modernize-use-using,
-performance-inefficient-string-concatenation,
-performance-no-int-to-ptr,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-readability-make-member-function-const,
-readability-redundant-control-flow,
-concurrency-mt-unsafe,
-cert-err58-cpp,
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: '35'
...