-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-tidy
48 lines (45 loc) · 1.44 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
Checks: >
bugprone-*,
clang-analyzer-*,
clang-diagnostic-*,
misc-*,
modernize-*,
performance-*,
readability-*,
security-*,
-bugprone-reserved-identifier,
-bugprone-exception-escape,
-clang-diagnostic-pragma-pack,
-clang-analyzer-cplusplus.NewDelete,
-misc-const-correctness,
-misc-non-private-member-variables-in-classes,
-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-equals-delete,
-modernize-use-trailing-return-type,
-readability-avoid-const-params-in-decls
-readability-identifier-naming,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-redundant-member-init,
-readability-redundant-access-specifiers,
-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,
-readability-function-cognitive-complexity,
-bugprone-easily-swappable-parameters
# All warnings are errors
WarningsAsErrors: "*"
# Align with clang-format
FormatStyle: file
# Include warnings from headers
HeaderFilterRegex: ".*"