]> granicus.if.org Git - clang/commitdiff
[analyzer] Eliminated endless loop.
authorAnton Yartsev <anton.yartsev@gmail.com>
Fri, 5 Dec 2014 00:59:07 +0000 (00:59 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Fri, 5 Dec 2014 00:59:07 +0000 (00:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223426 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/scan-build

index f2b4c6b790ba433ad6341d1955e6b3ebf36ceea8..d52d8f5f655c26a34715508ebb9a166a86de9e29 100755 (executable)
@@ -1533,6 +1533,7 @@ while (@ARGV) {
   }
 
   if ($arg eq "-no-failure-reports") {
+    shift @ARGV;
     $ENV{"CCC_REPORT_FAILURES"} = 0;
     next;
   }