carlosgalvezp added a comment.

Hmm, `MostDerived` **does** have a public virtual destructor in your example 
already - if the base class destructor is virtual, the child class destructor 
is virtual. In that sense the check should not warn.

Seems like there's some deeper problem in the check?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126891/new/

https://reviews.llvm.org/D126891

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

Reply via email to