[clazy] [Bug 430672] Level 2 lint copyable-polymorphic is a false positive for pure virtual classes

Sergio Martins bugzilla_noreply at kde.org
Thu Jun 3 22:50:13 BST 2021


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

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |clazy/commit/9ec85f78a18c03
                   |                            |1e49cdc62517175bfee7ee92ea
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Sergio Martins <smartins at kde.org> ---
Git commit 9ec85f78a18c031e49cdc62517175bfee7ee92ea by Sergio Martins.
Committed on 03/06/2021 at 21:45.
Pushed by smartins into branch 'master'.

copyable-polymorphic: Don't warn for some final classes

If the class is final and its base classes don't have public
copy-ctor/assign then it's ok
Related: bug 438027

M  +28   -4    src/checks/level2/copyable-polymorphic.cpp
M  +23   -0    tests/copyable-polymorphic/main.cpp
M  +1    -0    tests/copyable-polymorphic/main.cpp.expected

https://invent.kde.org/sdk/clazy/commit/9ec85f78a18c031e49cdc62517175bfee7ee92ea

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list