diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-09 22:02:28 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-09 22:02:28 +0000 |
commit | b8e405f9f3e00d9385239b0399b90b84d969e1e3 (patch) | |
tree | 59c3054892fc0751fc8a93836c5a01cf1fe015a2 /tools | |
parent | f6df606f3178a656f4f2886304474acd51cdf61c (diff) | |
download | clang-b8e405f9f3e00d9385239b0399b90b84d969e1e3.tar.gz |
Don't emit -Wnon-virtual-dtor on final classes, since it's not a problem there.
The base class is the culprit/risk here - a sealed/final derived class
with virtual functions and a non-virtual dtor can't accidentally be
polymorphically destroyed (if the base class's dtor is protected - which
also suppresses this warning).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions