Driver: Fix thinko in Arg::hasArg.

llvm-svn: 66785
This commit is contained in:
Daniel Dunbar 2009-03-12 08:45:11 +00:00
parent d971762d5a
commit 33699689ed
1 changed files with 1 additions and 1 deletions

View File

@ -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;