[llvm-commits] [llvm] r116766 - /llvm/trunk/include/llvm/MC/MCObjectFormat.h
Chandler Carruth
chandlerc at gmail.com
Mon Oct 18 16:18:51 PDT 2010
Author: chandlerc
Date: Mon Oct 18 18:18:51 2010
New Revision: 116766
URL: http://llvm.org/viewvc/llvm-project?rev=116766&view=rev
Log:
Add a virtual destructor to silence a GCC warning.
Modified:
llvm/trunk/include/llvm/MC/MCObjectFormat.h
Modified: llvm/trunk/include/llvm/MC/MCObjectFormat.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCObjectFormat.h?rev=116766&r1=116765&r2=116766&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCObjectFormat.h (original)
+++ llvm/trunk/include/llvm/MC/MCObjectFormat.h Mon Oct 18 18:18:51 2010
@@ -15,6 +15,8 @@
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:
More information about the llvm-commits
mailing list