| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
has many false positives for now
|
|
|
|
|
|
|
| |
Warns when any of the functions or variables declared in a Q_PROPERTY
have types, arguments or return types differing with the Q_PROPERTY.
REVIEW: D22962
|
|
|
|
| |
It's a design smell to have signals returning values
|
|
|
|
|
|
|
| |
Catches heap-allocating small trivially copyable/destructible types.
Such as: auto p = new QPoint();
Could contain false-positives, hence going to manual level.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
false-positives
This check has really been noise since its creation. The rate of false-positives
don't justify the insignificant compilation performance gains. Moved to manual level now.
Currently it has a bug, which doesn't seem possible to solve,
as the instantiated template doesn't carry over the information about the qint32 typedef.
And the CallExpr doesn't have any template related getters.
Also removed this check from the "performance" category in checks.json, since
this category is for runtime performance.
CCBUG: 407321
|
|
|
|
|
| |
Doesn't make sense to enable them all at the same time. Each one
must be carefully considered, as they are unstable.
|
|
|
|
|
| |
Suggests places where you can use Q_REQUIRED_RESULT.
Mostly to be used in your public headers.
|
|
|
|
|
|
|
| |
Warns when QML types registered with qmlRegisterType() or qmlRegisterUncreatableType()
don't start with uppercase. It's required by the engine.
BUG: 401015
|
|
|
|
|
|
|
|
|
| |
Tries to find cases where a #define following an #ifndef defines a
different but similar name. Possibly indicating a typo.
Uses a Levenshtein Distance algorithm to determine the typo likelihood.
Disabled by default as it has many false-positives.
|
|
|
|
|
| |
There's too many false-positives which are difficult to fix since
there are valid uses of "cast to base" and "cast to itself"
|
|
|
|
|
| |
Suggests to use QString instead of an empty QStringLiteral().
BUG: 393039
|
|
|
|
|
|
|
|
| |
Suggests qputenv/qgetenv instead of putenv/getenv.
Disabled by default. Enable it manually if you need the thread-safety guarantees
of the Qt equivalents.
BUG: 395303
|
|
|
|
|
|
|
| |
Storing pointer to member functions in static variables is not
advisable on MingW. Breaks connect().
CCMAIL: mathias.hasselmann@kdab.com
|
|
|
|
| |
Warns when QEvents are cast to possibly the wrong class
|
|
|
|
| |
As it has quite a few false-positives
|
|
|
|
|
| |
Having all of them in the same format makes easier to move checks
to another level via script, when needed
|
|
|
|
| |
Disabled by default, as there are valid use cases.
|
|
|
|
|
|
|
| |
Although QT_NO_KEYWORDS is useful we can still have a fixit in clazy.
Warns for emit, slot, signal and foreach. Disabled by default.
FixIt will come next.
|
|
|
|
|
| |
This makes it easier to compile only 1 check, useful during development
to reduce build times, you just trim down checks.json and generate
|
|
To make it easier to build only some checks during development
|