diff --git a/include/llvm/MC/MCObjectFormat.h b/include/llvm/MC/MCObjectFormat.h index 80b7295f1f9..2ee3ba3cda4 100644 --- a/include/llvm/MC/MCObjectFormat.h +++ b/include/llvm/MC/MCObjectFormat.h @@ -15,6 +15,8 @@ class MCSymbol; class MCObjectFormat { public: + virtual ~MCObjectFormat() {} + /// isAbsolute - Check if A - B is an absolute value /// /// \param InSet - True if this expression is in a set. For example: