summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2019-01-08 00:21:05 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2019-01-08 00:21:05 +0000
commitdea021bb775850c34e7d3a92dae594d1fff0de08 (patch)
tree0309b84e11e0ac90d6bb17e2179e2bd3ad8d2cb5 /llvm/lib/CodeGen
parent1baa2897efbf62337120e088a091c9e95c64975a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud