[cfe-commits] r66785 - /cfe/trunk/lib/Driver/ArgList.cpp

Daniel Dunbar daniel at zuster.org
Thu Mar 12 01:45:12 PDT 2009


Author: ddunbar
Date: Thu Mar 12 03:45:11 2009
New Revision: 66785

URL: http://llvm.org/viewvc/llvm-project?rev=66785&view=rev
Log:
Driver: Fix thinko in Arg::hasArg.

Modified:
    cfe/trunk/lib/Driver/ArgList.cpp

Modified: cfe/trunk/lib/Driver/ArgList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ArgList.cpp?rev=66785&r1=66784&r2=66785&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/ArgList.cpp (original)
+++ cfe/trunk/lib/Driver/ArgList.cpp Thu Mar 12 03:45:11 2009
@@ -34,7 +34,7 @@
   // 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;
   





More information about the cfe-commits mailing list