summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-09 22:02:28 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-09 22:02:28 +0000
commitb8e405f9f3e00d9385239b0399b90b84d969e1e3 (patch)
tree59c3054892fc0751fc8a93836c5a01cf1fe015a2 /lib/CodeGen/CodeGenFunction.cpp
parentf6df606f3178a656f4f2886304474acd51cdf61c (diff)
downloadclang-b8e405f9f3e00d9385239b0399b90b84d969e1e3.tar.gz
clang-b8e405f9f3e00d9385239b0399b90b84d969e1e3.tar.bz2
clang-b8e405f9f3e00d9385239b0399b90b84d969e1e3.tar.xz
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 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions