diff options
| author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-01-08 00:21:05 +0000 |
|---|---|---|
| committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-01-08 00:21:05 +0000 |
| commit | dea021bb775850c34e7d3a92dae594d1fff0de08 (patch) | |
| tree | 0309b84e11e0ac90d6bb17e2179e2bd3ad8d2cb5 /llvm/lib/CodeGen | |
| parent | 1baa2897efbf62337120e088a091c9e95c64975a (diff) | |
| download | bcm5719-llvm-dea021bb775850c34e7d3a92dae594d1fff0de08.tar.gz bcm5719-llvm-dea021bb775850c34e7d3a92dae594d1fff0de08.zip | |
Split -Wdelete-non-virtual-dtor into -Wdelete-abstract-non-virtual-dtor
-Wdelete-non-virtual-dtor previously controlled two diagnostics: 1)
calling a non-virtual dtor from an abstract class, and 2) calling a
non-virtual dtor from a polymorphic class. 1) is a lot more severe
than 2), since 1) is a guaranteed crash, but 2) is just "code smell".
Previously, projects compiled with -Wall -Wno-delete-non-virtual-dtor,
which is somewhat reasonable, silently crashed on 1).
rdar://40380564
Differential revision: https://reviews.llvm.org/D56405
llvm-svn: 350585
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

