Skip to content

Commit

Permalink
Remove explicit no-op dtor in favor of the implicit dtor so as not to…
Browse files Browse the repository at this point in the history
… disable/deprecate the copy operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231113 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dwblaikie committed Mar 3, 2015
1 parent b858734 commit 394b3ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion include/llvm/Option/Option.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class Option {

public:
Option(const OptTable::Info *Info, const OptTable *Owner);
~Option();

bool isValid() const {
return Info != nullptr;
Expand Down
3 changes: 0 additions & 3 deletions lib/Option/Option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ Option::Option(const OptTable::Info *info, const OptTable *owner)
}
}

Option::~Option() {
}

void Option::dump() const {
llvm::errs() << "<";
switch (getKind()) {
Expand Down

0 comments on commit 394b3ac

Please sign in to comment.