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

Sergio Martins <smart...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/cla
                   |                            |zy/3e2edaa8f7048b25f6a2b501
                   |                            |c794043409eff524

--- Comment #2 from Sergio Martins <smart...@kde.org> ---
Git commit 3e2edaa8f7048b25f6a2b501c794043409eff524 by Sergio Martins.
Committed on 15/01/2018 at 23:03.
Pushed by smartins into branch 'master'.

unused-non-trivial-variable: Add user blacklist and whitelist

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.

M  +5    -1    src/checks/level0/README-unused-non-trivial-variable.md
M  +25   -1    src/checks/level0/unused-non-trivial-variable.cpp
M  +2    -0    src/checks/level0/unused-non-trivial-variable.h
M  +5    -2    tests/unused-non-trivial-variable/config.json
M  +12   -1    tests/unused-non-trivial-variable/main.cpp
M  +1    -0    tests/unused-non-trivial-variable/main.cpp.expected
M  +11   -0    tests/unused-non-trivial-variable/no-whitelist.cpp

https://commits.kde.org/clazy/3e2edaa8f7048b25f6a2b501c794043409eff524

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

Reply via email to