aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commit04e2e665cb1cd7664b9b10427f8b29bd97523caf (patch)
tree6edc20a9b7904effc86c9b13ea499a87a9bdc26b /clang/lib/CodeGen/CodeGenFunction.cpp
parentd0eda92845ffb48ba71ff449c8917337f7c68476 (diff)
downloadllvm-04e2e665cb1cd7664b9b10427f8b29bd97523caf.zip
llvm-04e2e665cb1cd7664b9b10427f8b29bd97523caf.tar.gz
llvm-04e2e665cb1cd7664b9b10427f8b29bd97523caf.tar.bz2
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). llvm-svn: 208449
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions