From 1be4ab681e086ec83e96d543d37e3474ef400282 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 18 Oct 2010 23:18:51 +0000 Subject: [PATCH] Add a virtual destructor to silence a GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116766 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCObjectFormat.h | 2 ++ 1 file changed, 2 insertions(+) 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: