Skip to content
Commit a1b98ab7 authored by Duncan Sands's avatar Duncan Sands
Browse files

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.

llvm-svn: 95526
parent ff8cce43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment