HomePhabricator

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

Authored by erik.pilkington on Jan 10 2019, 10:03 AM.

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

llvm-svn: 350856

Details

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