diff options
author | Duncan Sands <baldrick@free.fr> | 2010-02-07 21:09:22 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-02-07 21:09:22 +0000 |
commit | 3dc32ed569ab8f94e8036f5aae9d683c34bd31f3 (patch) | |
tree | 2d0adf67e989c1db0ef3f4bb3b7f84904d002cc6 /tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp | |
parent | 6059b8551dc1ddc24bb5830426bf7e11d394a426 (diff) |
Give DwarfPrinter a protected (but not virtual) destructor. Cppcheck
warns about this base class not having a virtual destructor, but since
this class has no virtual methods and neither it or the types derived
from it has a destructor, a protected trivial destructor will do (and
shuts cppcheck up) the trick without the cost of introducing a vtable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp')
0 files changed, 0 insertions, 0 deletions