mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
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
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user