Recently, Clang enabled the check for virtual destructors
in the presence of virtual methods. That broke the bootstrap
build. Fixing it.
This is a second attempt to fix this. Now, with out-of-line definition.
Differential D31780
Add a virtual destructor to a class with virtual methods. krasin on Apr 6 2017, 11:41 AM. Authored by
Details
Recently, Clang enabled the check for virtual destructors This is a second attempt to fix this. Now, with out-of-line definition.
Diff Detail
Event TimelineComment Actions LGTM If this doesn't work I guess you can also try overriding operator delete for this class. Comment Actions So, this does not work as it introduces an undefined reference to the operator delete. And after a second thought, it might be that it's the warning that got enabled by default is to blame. |