summaryrefslogtreecommitdiff
path: root/lib/Option
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-06-21 06:51:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-06-21 06:51:35 +0000
commitcaca524562c2f7456a732b4460071122b19f5cd6 (patch)
treedf016eb65df0b79a76be5768e05692989ff6121b /lib/Option
parentfa6a5de95b364099c85699fe49faade2b987605e (diff)
Devirtualize ArgList's dtor now that -Wvirtual-dtor and C++11 allow a better way to describe this situation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Option')
-rw-r--r--lib/Option/ArgList.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Option/ArgList.cpp b/lib/Option/ArgList.cpp
index b771a18a106..e29b62f74dc 100644
--- a/lib/Option/ArgList.cpp
+++ b/lib/Option/ArgList.cpp
@@ -33,9 +33,6 @@ void arg_iterator::SkipToNextArg() {
}
}
-ArgList::~ArgList() {
-}
-
void ArgList::append(Arg *A) {
Args.push_back(A);
}
@@ -358,8 +355,6 @@ const char *InputArgList::MakeArgStringRef(StringRef Str) const {
DerivedArgList::DerivedArgList(const InputArgList &BaseArgs)
: BaseArgs(BaseArgs) {}
-DerivedArgList::~DerivedArgList() {}
-
const char *DerivedArgList::MakeArgStringRef(StringRef Str) const {
return BaseArgs.MakeArgString(Str);
}