]> granicus.if.org Git - clang/commitdiff
Use double instead of single quote to expand .
authorTed Kremenek <kremenek@apple.com>
Wed, 29 Aug 2012 07:22:34 +0000 (07:22 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 29 Aug 2012 07:22:34 +0000 (07:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162830 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/scan-build

index 35208262b21d4adf1579d2551825f828af3acd9e..0b7025b965739ad8d065c21b885099475493cd7f 100755 (executable)
@@ -1526,7 +1526,7 @@ Diag("Using '$Clang' for static analysis\n");
 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.