[PATCH] Re-enabling another warning

Aaron Ballman aaron at aaronballman.com
Sat Jul 27 11:48:05 PDT 2013


This patch fixes a few cases where a default destructor would not be
generated due to a member variable having an inaccessible default
destructor.  While the original code was correct, the updated code is
a bit more clear.  Assuming that this new code is acceptable, this
also re-enables the C4624 MSVC warning (''derived class' : destructor
could not be generated because a base class destructor is
inaccessible').

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.patch
Type: application/octet-stream
Size: 1169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130727/a67df224/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.patch
Type: application/octet-stream
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130727/a67df224/attachment-0001.obj>


More information about the cfe-commits mailing list