From: David Blaikie Date: Tue, 3 Mar 2015 19:53:02 +0000 (+0000) Subject: Remove explicit no-op dtor in favor of the implicit dtor so as not to disable/depreca... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=394b3ac916da02c96727dca81997106e47980d09;p=oota-llvm.git Remove explicit no-op dtor in favor of the implicit dtor so as not to disable/deprecate the copy operations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231113 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Option/Option.h b/include/llvm/Option/Option.h index b2cfacbaf34..09be26c7cf2 100644 --- a/include/llvm/Option/Option.h +++ b/include/llvm/Option/Option.h @@ -70,7 +70,6 @@ protected: public: Option(const OptTable::Info *Info, const OptTable *Owner); - ~Option(); bool isValid() const { return Info != nullptr; diff --git a/lib/Option/Option.cpp b/lib/Option/Option.cpp index cdc63c353f0..e29d6491c7f 100644 --- a/lib/Option/Option.cpp +++ b/lib/Option/Option.cpp @@ -35,9 +35,6 @@ Option::Option(const OptTable::Info *info, const OptTable *owner) } } -Option::~Option() { -} - void Option::dump() const { llvm::errs() << "<"; switch (getKind()) {