-
Notifications
You must be signed in to change notification settings - Fork 18
/
.clang-tidy
53 lines (52 loc) · 1.55 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
---
Checks: >
clang-analyzer-*,
bugprone-*,
-bugprone-narrowing-conversions,
-bugprone-easily-swappable-parameters,
-bugprone-lambda-function-name,
-bugprone-branch-clone,
misc-*,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
concurrency-*,
modernize-*,
-modernize-loop-convert,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-vararg,
performance-*,
portability-*,
google-*,
-google-readability-namespace-comments,
-google-readability-todo,
-google-build-using-namespace,
-google-readability-avoid-underscore-in-googletest-name,
hicpp-*,
-hicpp-uppercase-literal-suffix,
-hicpp-signed-bitwise,
-hicpp-vararg,
-hicpp-named-parameter,
readability-*,
-readability-magic-numbers,
-readability-identifier-length,
-readability-uppercase-literal-suffix,
-readability-else-after-return,
-readability-function-cognitive-complexity,
-readability-named-parameter,
-readability-convert-member-functions-to-static,
-readability-qualified-auto,
cert-*
-cert-dcl21-cpp
CheckOptions:
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: true
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: true