[cfe-commits] r162765 - /cfe/trunk/tools/scan-build/scan-build
Ted Kremenek
kremenek at apple.com
Tue Aug 28 09:48:49 PDT 2012
Author: kremenek
Date: Tue Aug 28 11:48:48 2012
New Revision: 162765
URL: http://llvm.org/viewvc/llvm-project?rev=162765&view=rev
Log:
Fix passing of -analyzer-max-loop from scan-build to clang.
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=162765&r1=162764&r2=162765&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Tue Aug 28 11:48:48 2012
@@ -1526,7 +1526,7 @@
SetHtmlEnv(\@ARGV, $HtmlDir);
if ($AnalyzeHeaders) { push @AnalysesToRun,"-analyzer-opt-analyze-headers"; }
if ($AnalyzerStats) { push @AnalysesToRun, '-analyzer-checker=debug.Stats'; }
-if ($MaxLoop > 0) { push @AnalysesToRun, '-analyzer-max-loop=$MaxLoop'; }
+if ($MaxLoop > 0) { push @AnalysesToRun, '-analyzer-max-loop $MaxLoop'; }
# Delay setting up other environment variables in case we can do true
# interposition.
More information about the cfe-commits
mailing list