aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCObjectFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCObjectFormat.h')
-rw-r--r--include/llvm/MC/MCObjectFormat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCObjectFormat.h b/include/llvm/MC/MCObjectFormat.h
index 80b7295f1f..2ee3ba3cda 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: