diff options
| author | David Blaikie <dblaikie@gmail.com> | 2017-04-22 02:18:00 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2017-04-22 02:18:00 +0000 |
| commit | c0bb21f38ea0e3bb545a0ee1f69692439460e9fb (patch) | |
| tree | 9005c6f0cf42a77c7640e4dbbca897197e67d91d /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
| parent | de06ec544939c9a2d2a9f2bb6fd67b8091208be2 (diff) | |
| download | bcm5719-llvm-c0bb21f38ea0e3bb545a0ee1f69692439460e9fb.tar.gz bcm5719-llvm-c0bb21f38ea0e3bb545a0ee1f69692439460e9fb.zip | |
Remove the unnecessary virtual dtor from the DIEUnit hierarchy (in favor of protected dtor in the base, final derived classes with public non-virtual dtors)
These objects are never polymorphically owned/destroyed, so the virtual
dtor was unnecessary.
llvm-svn: 301068
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 9a64b4b76b0..20a415150b4 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -28,7 +28,7 @@ class DwarfFile; class MCSymbol; class LexicalScope; -class DwarfCompileUnit : public DwarfUnit { +class DwarfCompileUnit final : public DwarfUnit { /// A numeric ID unique among all CUs in the module unsigned UniqueID; |

