-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
52 lines (52 loc) · 1.29 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
---
Checks: "-*,\
abseil-*,\
boost-*,\
bugprone-*,\
-bugprone-branch-clone,\
-bugprone-easily-swappable-parameters,\
cert-*,\
-cert-oop54-cpp,\
cppcoreguidelines-*,\
-cppcoreguidelines-pro-type-const-cast,\
-cppcoreguidelines-avoid-magic-numbers,\
fuchsia-*,\
-fuchsia-default-arguments,\
-fuchsia-default-arguments-calls,\
-fuchsia-default-arguments-declarations,\
-fuchsia-overloaded-operator,\
-fuchsia-trailing-return,\
google-*,\
-google-build-using-namespace,\
-google-readability-namespace-comments,\
-google-readability-todo,\
-google-runtime-references,\
hicpp-*,\
-hicpp-braces-around-statements,\
-hicpp-named-parameter,\
-hicpp-no-array-decay,\
llvm-*,\
-llvm-include-order,\
-llvm-header-guard,\
-llvm-namespace-comment,\
-llvm-qualified-auto,\
misc-*,\
-misc-unused-parameters,\
modernize-*,\
-modernize-use-trailing-return-type,\
performance-*,\
readability-*,\
-readability-braces-around-statements,\
-readability-identifier-length,\
-readability-named-parameter,\
-readability-magic-numbers,\
-readability-qualified-auto,\
-readability-convert-member-functions-to-static,\
"
CheckOptions:
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: 1
- key: readability-function-cognitive-complexity.Threshold
value: 50
HeaderFilterRegex: '.*/(include|src|examples)/.*\.h$'
...