[llvm] r238000 - Revert part of r237975, "Fix Clang -Wmissing-override warning" in DIContext.h, to appease g++-4.7.
NAKAMURA Takumi
geek4civic at gmail.com
Thu May 21 22:52:50 PDT 2015
Author: chapuni
Date: Fri May 22 00:52:50 2015
New Revision: 238000
URL: http://llvm.org/viewvc/llvm-project?rev=238000&view=rev
Log:
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".
Modified:
llvm/trunk/include/llvm/DebugInfo/DIContext.h
Modified: llvm/trunk/include/llvm/DebugInfo/DIContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DIContext.h?rev=238000&r1=237999&r2=238000&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DIContext.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DIContext.h Fri May 22 00:52:50 2015
@@ -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.
///
More information about the llvm-commits
mailing list