Revert part of r237975, "Fix Clang -Wmissing-override warning" in DIContext.h, to...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 22 May 2015 05:52:50 +0000 (05:52 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 22 May 2015 05:52:50 +0000 (05:52 +0000)
  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

index d8830da56b518cdf352cdf036fae088b9a264792..dddc7faa73e8b9c76964de9d44eaa643621c3e6b 100644 (file)
@@ -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.
   ///