Correct option forwarding: initial implementation.

Does not work, but the infrastructure changes are in place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2010-02-23 09:04:44 +00:00
parent c6e0dbf1dd
commit a34f97ab22
7 changed files with 166 additions and 194 deletions

View File

@ -71,3 +71,12 @@ sys::Path Tool::OutFilename(const sys::Path& In,
}
return Out;
}
StrVector Tool::SortArgs(ArgsVector& Args) const {
StrVector Out;
for (ArgsVector::iterator B = Args.begin(), E = Args.end(); B != E; ++B)
Out.push_back(B->second);
return Out;
}