-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
47 lines (44 loc) · 1.38 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
Checks: >
bugprone-*,
clang-analyzer-*,
clang-diagnostic-*,
misc-*,
modernize-*,
performance-*,
readability-*,
security-*,
-bugprone-reserved-identifier,
-clang-diagnostic-pragma-pack,
-modernize-avoid-c-arrays,
-modernize-concat-nested-namespaces,
-modernize-pass-by-value,
-modernize-raw-string-literal,
-modernize-return-braced-init-list,
-modernize-use-default-member-init,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
-modernize-make-unique,
-readability-avoid-const-params-in-decls
-readability-identifier-naming,
-readability-implicit-bool-conversion,
-readability-redundant-member-init,
-readability-static-accessed-through-instance,
-readability-named-parameter,
-readability-magic-numbers,
-misc-no-recursion,
-clang-analyzer-core.NullDereference,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-cplusplus.NewDeleteLeaks,
-clang-analyzer-core.NonNullParamChecker,
-misc-non-private-member-variables-in-classes,
-readability-function-cognitive-complexity,
-bugprone-easily-swappable-parameters,
-performance-no-int-to-ptr,
-bugprone-suspicious-missing-comma,
-bugprone-branch-clone
# All warnings are errors
WarningsAsErrors: "*"
# Align with clang-format
FormatStyle: file
# Include warnings from headers
HeaderFilterRegex: ".*"