r223426 - [analyzer] Eliminated endless loop.

Anton Yartsev anton.yartsev at gmail.com
Thu Dec 4 16:59:08 PST 2014


Author: ayartsev
Date: Thu Dec  4 18:59:07 2014
New Revision: 223426

URL: http://llvm.org/viewvc/llvm-project?rev=223426&view=rev
Log:
[analyzer] Eliminated endless loop.

Modified:
    cfe/trunk/tools/scan-build/scan-build

Modified: cfe/trunk/tools/scan-build/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/scan-build?rev=223426&r1=223425&r2=223426&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Thu Dec  4 18:59:07 2014
@@ -1533,6 +1533,7 @@ while (@ARGV) {
   }
 
   if ($arg eq "-no-failure-reports") {
+    shift @ARGV;
     $ENV{"CCC_REPORT_FAILURES"} = 0;
     next;
   }





More information about the cfe-commits mailing list