https://bugs.kde.org/show_bug.cgi?id=388979

--- Comment #1 from Sergio Martins <smart...@kde.org> ---
Git commit e847520dcf734c384aa6607317133faa1d73eb86 by Sergio Martins.
Committed on 15/01/2018 at 22:42.
Pushed by smartins into branch 'master'.

unused-non-trivial-variable: Add option to disable the whitelist

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

M  +4    -0    src/checks/level0/README-unused-non-trivial-variable.md
M  +31   -0    src/checks/level0/unused-non-trivial-variable.cpp
M  +1    -0    src/checks/level0/unused-non-trivial-variable.h
M  +4    -0    tests/unused-non-trivial-variable/config.json
A  +62   -0    tests/unused-non-trivial-variable/no-whitelist.cpp     [License:
UNKNOWN]  *
A  +7    -0    tests/unused-non-trivial-variable/no-whitelist.cpp.expected

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://commits.kde.org/clazy/e847520dcf734c384aa6607317133faa1d73eb86

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to