From: NAKAMURA Takumi Date: Fri, 22 May 2015 05:52:50 +0000 (+0000) Subject: Revert part of r237975, "Fix Clang -Wmissing-override warning" in DIContext.h, to... X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=117f3a66e83f990b122faeea7be681498f6fd7d3;hp=ec8c491a0649ca598aac3f29d200d114845b9d2d Revert part of r237975, "Fix Clang -Wmissing-override warning" in DIContext.h, to appease g++-4.7. llvm/include/llvm/DebugInfo/DIContext.h:144:11: error: overriding ‘virtual llvm::LoadedObjectInfo::~LoadedObjectInfo() noexcept (true)’ It seems the destructor in the base class may not be "default". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238000 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/DIContext.h b/include/llvm/DebugInfo/DIContext.h index d8830da56b5..dddc7faa73e 100644 --- a/include/llvm/DebugInfo/DIContext.h +++ b/include/llvm/DebugInfo/DIContext.h @@ -141,7 +141,8 @@ private: /// on the fly. class LoadedObjectInfo { public: - virtual ~LoadedObjectInfo() = default; + LoadedObjectInfo() {} + virtual ~LoadedObjectInfo() {} /// Obtain the Load Address of a section by Name. ///