Hi,

the attached patch changes

  delete called on 'dnvd::B' that has virtual functions but non-virtual
destructor

to

  delete called on non-final 'dnvd::B' that has virtual functions but
non-virtual destructor

I'm not sure if it should only do this for c++11 and newer – the new
message is true in c++98 as well and I think we support final as an
extension in c++98. So this patch unconditionally changes the warning text.

Nico
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to