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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/cla
                   |                            |zy/4918d8efba9b20b273a15ab2
                   |                            |dd215a768ff884f9
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Sergio Martins <smart...@kde.org> ---
Git commit 4918d8efba9b20b273a15ab2dd215a768ff884f9 by Sergio Martins.
Committed on 27/05/2019 at 13:12.
Pushed by smartins into branch 'master'.

unneeded-cast: Improve warning message for unneeded qobject_cast

Instead of saying that no cast to base is needed, simply say that
no qobject_cast is needed. Since a static_cast might still be needed.

This is the case for the ternary operator.

M  +13   -3    src/checks/manuallevel/unneeded-cast.cpp
M  +1    -1    src/checks/manuallevel/unneeded-cast.h
M  +2    -2    tests/unneeded-cast/main.cpp

https://commits.kde.org/clazy/4918d8efba9b20b273a15ab2dd215a768ff884f9

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

Reply via email to