summaryrefslogtreecommitdiff
path: root/tools/scan-build
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2014-12-05 00:59:07 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2014-12-05 00:59:07 +0000
commit488283be8feb6ccb8a397f4b0b46e7d755d577dc (patch)
tree801bd4c672e1efd40836fa3ba02e84930be79a34 /tools/scan-build
parentb0c1091c1b6c1839f263751c88091d3d64278c48 (diff)
downloadclang-488283be8feb6ccb8a397f4b0b46e7d755d577dc.tar.gz
[analyzer] Eliminated endless loop.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build')
-rwxr-xr-xtools/scan-build/scan-build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build
index f2b4c6b790..d52d8f5f65 100755
--- a/tools/scan-build/scan-build
+++ b/tools/scan-build/scan-build
@@ -1533,6 +1533,7 @@ while (@ARGV) {
}
if ($arg eq "-no-failure-reports") {
+ shift @ARGV;
$ENV{"CCC_REPORT_FAILURES"} = 0;
next;
}