Remove explicit no-op dtor in favor of the implicit dtor so as not to disable/depreca...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 19:53:02 +0000 (19:53 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 19:53:02 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231113 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Option/Option.h
lib/Option/Option.cpp

index b2cfacbaf344b22c538bd5d41364d39ddef7b8bb..09be26c7cf203f234c9af96062c52e7d0e8febeb 100644 (file)
@@ -70,7 +70,6 @@ protected:
 
 public:
   Option(const OptTable::Info *Info, const OptTable *Owner);
-  ~Option();
 
   bool isValid() const {
     return Info != nullptr;
index cdc63c353f009051d7c22faece80eca4b437cd52..e29d6491c7f62796e6e093c1abaca1e2dc0c9bb4 100644 (file)
@@ -35,9 +35,6 @@ Option::Option(const OptTable::Info *info, const OptTable *owner)
   }
 }
 
-Option::~Option() {
-}
-
 void Option::dump() const {
   llvm::errs() << "<";
   switch (getKind()) {