diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-07-20 21:16:17 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-07-20 21:16:17 +0000 |
commit | 19886421242f4e3730e2cad1fa452bb4a63a20a2 (patch) | |
tree | 85e59a27438780d654d215fff8a164578e50990a /clang/lib/Driver/ArgList.cpp | |
parent | 03400e17fe5149c0f2f7161ba3837954e5196ed1 (diff) | |
download | bcm5719-llvm-19886421242f4e3730e2cad1fa452bb4a63a20a2.tar.gz bcm5719-llvm-19886421242f4e3730e2cad1fa452bb4a63a20a2.zip |
Temporarily revert r135614 while I fix the cmake build.
llvm-svn: 135621
Diffstat (limited to 'clang/lib/Driver/ArgList.cpp')
-rw-r--r-- | clang/lib/Driver/ArgList.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/clang/lib/Driver/ArgList.cpp b/clang/lib/Driver/ArgList.cpp index 30225fccb57..b8af9cc47e0 100644 --- a/clang/lib/Driver/ArgList.cpp +++ b/clang/lib/Driver/ArgList.cpp @@ -46,16 +46,6 @@ void ArgList::append(Arg *A) { Args.push_back(A); } -void ArgList::eraseArg(OptSpecifier Id) { - for (iterator it = begin(), ie = end(); it != ie; ++it) { - if ((*it)->getOption().matches(Id)) { - Args.erase(it); - it = begin(); - ie = end(); - } - } -} - Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { // FIXME: Make search efficient? for (const_reverse_iterator it = rbegin(), ie = rend(); it != ie; ++it) @@ -202,12 +192,6 @@ void ArgList::ClaimAllArgs(OptSpecifier Id0) const { (*it)->claim(); } -void ArgList::ClaimAllArgs() const { - for (const_iterator it = begin(), ie = end(); it != ie; ++it) - if (!(*it)->isClaimed()) - (*it)->claim(); -} - const char *ArgList::MakeArgString(const llvm::Twine &T) const { llvm::SmallString<256> Str; T.toVector(Str); |