[llvm] r238197 - Fix warning introduced in r238190 about lack of virtual destructor in MCObjectFileInfo.
Daniel Sanders
daniel.sanders at imgtec.com
Tue May 26 05:25:36 PDT 2015
Author: dsanders
Date: Tue May 26 07:25:36 2015
New Revision: 238197
URL: http://llvm.org/viewvc/llvm-project?rev=238197&view=rev
Log:
Fix warning introduced in r238190 about lack of virtual destructor in MCObjectFileInfo.
Modified:
llvm/trunk/include/llvm/MC/MCObjectFileInfo.h
Modified: llvm/trunk/include/llvm/MC/MCObjectFileInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCObjectFileInfo.h?rev=238197&r1=238196&r2=238197&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCObjectFileInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCObjectFileInfo.h Tue May 26 07:25:36 2015
@@ -188,6 +188,8 @@ protected:
MCSection *XDataSection;
public:
+ virtual ~MCObjectFileInfo() { };
+
void InitMCObjectFileInfo(StringRef TT, Reloc::Model RM, CodeModel::Model CM,
MCContext &ctx);
More information about the llvm-commits
mailing list