From 394b3ac916da02c96727dca81997106e47980d09 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 3 Mar 2015 19:53:02 +0000 Subject: [PATCH] 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 --- include/llvm/Option/Option.h | 1 - lib/Option/Option.cpp | 3 --- 2 files changed, 4 deletions(-) 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()) {