[Bug c++/80518] -Wsuggest-override does not warn about missing override on destructor
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 25 17:35:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This has been discussed recently in the context of the C++ Core Guidelines, and
the recommendation is *not* to put override on destructors.
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rh-override
More information about the Gcc-bugs
mailing list