forked from MythTV/mythtv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clazy
71 lines (63 loc) · 1.58 KB
/
.clazy
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
// For the full list of available checks:
//
// https://github.com/KDE/clazy#list-of-checks
// BASE LEVEL
level1
// Disable these level0 checks
no-overloaded-signal
// Qt6 removed QStringRef class
no-qstring-ref
// Disable these level1 checks
no-qproperty-without-notify
no-non-pod-global-static
// This appears to have been broken in the latest clazy update.
// no-incorrect-emit
//
// LEVEL2 CHECKS
//
base-class-event
function-args-by-ref
function-args-by-value
global-const-char-pointer
old-style-connect
returning-void-expression
static-pmf
virtual-call-ctor
// Not investigated yet
// copyable-polymorphic
// ctor-missing-parent-argument
// implicit-casts
// missing-qobject-macro
// missing-typeinfo
// Qt6 is migrating from QLatin1String to c++ unicode string literals.
// qstring-allocations
// rule-of-three
//
// MANUAL CHECKS
//
assert-with-side-effects
container-inside-loop
isempty-vs-count
qhash-with-char-pointer-key
qt6-fwd-fixes
qt6-header-fixes
qt6-qhash-signature
raw-environment-function
use-chrono-in-qtimer
// Only three or four instances, but produce ~90 warnings.
// signal-with-return-value
// Not investigated yet
// detaching-member
// heap-allocated-small-trivial-type
// ifndef-define-typo
// inefficient-qlist
// jni-signatures
// qproperty-type-mismatch
// qrequiredresult-candidates
// qt6-deprecated-api-fixes
// qt6-qlatin1stringchar-to-u
// qvariant-template-instantiation
// reserve-candidates
// thread-with-slots
// tr-non-literal
// unneeded-cast