Remove unneccessary virtual destructor from DwarfExpression.

llvm-svn: 298865
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
index bdfa140..e8dc211 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
@@ -171,9 +171,9 @@
   /// expression.  See PR21176 for more details.
   void addStackValue();
 
+  ~DwarfExpression() = default;
 public:
   DwarfExpression(unsigned DwarfVersion) : DwarfVersion(DwarfVersion) {}
-  virtual ~DwarfExpression() {};
 
   /// This needs to be called last to commit any pending changes.
   void finalize();
@@ -211,7 +211,7 @@
 };
 
 /// DwarfExpression implementation for .debug_loc entries.
-class DebugLocDwarfExpression : public DwarfExpression {
+class DebugLocDwarfExpression final : public DwarfExpression {
   ByteStreamer &BS;
 
   void emitOp(uint8_t Op, const char *Comment = nullptr) override;
@@ -225,7 +225,7 @@
 };
 
 /// DwarfExpression implementation for singular DW_AT_location.
-class DIEDwarfExpression : public DwarfExpression {
+class DIEDwarfExpression final : public DwarfExpression {
 const AsmPrinter ≈
   DwarfUnit &DU;
   DIELoc ¨