[clazy] [Bug 438027] copyable-polymorphic should not issue a warning when the base class copy ctor isn't public
Sergio Martins
bugzilla_noreply at kde.org
Thu Jun 3 22:50:21 BST 2021
https://bugs.kde.org/show_bug.cgi?id=438027
Sergio Martins <smartins at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://invent.kde.org/sdk/
| |clazy/commit/9ec85f78a18c03
| |1e49cdc62517175bfee7ee92ea
Status|REPORTED |RESOLVED
--- Comment #1 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 430672
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