| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
You can now use CLAZY_UNUSED_NON_TRIVIAL_VARIABLE_WHITELIST to
set a comma separated list of user types which you want to warn on.
Conversly, if you disabled the whitelist via export CLAZY_EXTRA_OPTIONS=unused-non-trivial-variable-no-whitelist
then you'll want a blacklist, that's the env variable CLAZY_UNUSED_NON_TRIVIAL_VARIABLE_BLACKLIST, which also
accepts comma separated list.
BUG: 388979
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Meaning it will warn for any unused non-trivial variable. This will
cause false-positives, such as RAII types, but still useful to run at least once
on your code.
Do use it:
export CLAZY_EXTRA_OPTIONS=unused-non-trivial-variable-no-whitelist
Next will implement blacklist/whitelist support from env-variable
CCBUG: 388979
|
|
|
|
|
|
| |
We check if the variable is used after the location where it was declared,
but it the expression begins with a macro, it was using the location of where
the macro was written, and where it was used.
|
| |
|
|
Because the compilers don't warn for unused non-trivial Qt value classes.
This check has a whitelist of classes and warns when they there are unused
variables.
BUG: 359000
|