HomePhabricator

Split -Wdelete-non-virtual-dtor into two groups

Description

Split -Wdelete-non-virtual-dtor into two groups

This group controls two diagnostics: deleting an abstract class with
a non-virtual dtor, which is a guaranteed crash, and deleting a
non-abstract polymorphic class with a non-virtual dtor, which is just
suspicious.

rdar://40380564

Differential revision: https://reviews.llvm.org/D56405

Details

Committed
epilkJan 10 2019, 10:03 AM
Differential Revision
D56405: Split -Wdelete-non-virtual-dtor into two groups
Parents
rL350855: Remove an external test file. NFC.
Branches
Unknown
Tags
Unknown