aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/ArgList.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-12 08:45:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-12 08:45:11 +0000
commite7fffa14dc50091200b778a747acad15a254626c (patch)
tree08d3cec64922a46a215776ff1095f1cb8ccf7b22 /lib/Driver/ArgList.cpp
parenta948045b43e9f102533f85a1b64ddd26c0077e8a (diff)
Driver: Fix thinko in Arg::hasArg.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ArgList.cpp')
-rw-r--r--lib/Driver/ArgList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/ArgList.cpp b/lib/Driver/ArgList.cpp
index 6a056074b7..aaba406f14 100644
--- a/lib/Driver/ArgList.cpp
+++ b/lib/Driver/ArgList.cpp
@@ -34,7 +34,7 @@ bool ArgList::hasArg(options::ID Id) const {
// FIXME: Make search efficient?
// FIXME: This needs to not require loading of the option.
- for (const_iterator it = begin(), ie = end(); it != ie; ++ie)
+ for (const_iterator it = begin(), ie = end(); it != ie; ++it)
if ((*it)->getOption().matches(Id))
return true;