aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/OptTable.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-11 22:00:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-11 22:00:17 +0000
commit785e7963343c91c16e6d7c8f301eee145d06da5b (patch)
tree76fce3f81fbe77b32bdc670b08e13cd7f15fb178 /lib/Driver/OptTable.cpp
parent7e4953e5c60409007545288f14b430bd23d68570 (diff)
Driver: Change OptTable::ParseArg to take any ArgList.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/OptTable.cpp')
-rw-r--r--lib/Driver/OptTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/OptTable.cpp b/lib/Driver/OptTable.cpp
index cc9820e1e7..618ba8e996 100644
--- a/lib/Driver/OptTable.cpp
+++ b/lib/Driver/OptTable.cpp
@@ -182,7 +182,7 @@ Option *OptTable::CreateOption(unsigned id) const {
return Opt;
}
-Arg *OptTable::ParseOneArg(const InputArgList &Args, unsigned &Index) const {
+Arg *OptTable::ParseOneArg(const ArgList &Args, unsigned &Index) const {
unsigned Prev = Index;
const char *Str = Args.getArgString(Index);