summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-04-05 19:21:35 +0000
committerRui Ueyama <ruiu@google.com>2017-04-05 19:21:35 +0000
commit63fda39e2fa22ce5614522ca5d7632d59d576222 (patch)
treed35c2316d29228ee771f31a9704ffbdfddce56a0
parentb2fb84a1fa8504cf378cf3a344ec8790161561dd (diff)
downloadbcm5719-llvm-63fda39e2fa22ce5614522ca5d7632d59d576222.tar.gz
bcm5719-llvm-63fda39e2fa22ce5614522ca5d7632d59d576222.zip
Remove unnecessary virtual dtor.
This class doesn't have virtual member functions, and no instances of this class is deleted through base pointers. llvm-svn: 299581
-rw-r--r--lld/ELF/LinkerScript.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index 7531e9c5947..e1962c04d92 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -68,9 +68,6 @@ enum SectionsCommandKind {
struct BaseCommand {
BaseCommand(int K) : Kind(K) {}
-
- virtual ~BaseCommand() = default;
-
int Kind;
};
OpenPOWER on IntegriCloud