From 117f3a66e83f990b122faeea7be681498f6fd7d3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 22 May 2015 05:52:50 +0000 Subject: [PATCH 1/1] Revert part of r237975, "Fix Clang -Wmissing-override warning" in DIContext.h, to appease g++-4.7. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- include/llvm/DebugInfo/DIContext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. /// -- 2.34.1