From: Chandler Carruth Date: Mon, 18 Oct 2010 23:18:51 +0000 (+0000) Subject: Add a virtual destructor to silence a GCC warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1be4ab681e086ec83e96d543d37e3474ef400282;p=oota-llvm.git 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 --- 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: