[cfe-commits] r128015 - /cfe/trunk/tools/scan-build/ccc-analyzer

Ted Kremenek kremenek at apple.com
Mon Mar 21 13:12:21 PDT 2011


Author: kremenek
Date: Mon Mar 21 15:12:21 2011
New Revision: 128015

URL: http://llvm.org/viewvc/llvm-project?rev=128015&view=rev
Log:
scan-build: only display analyzer intra-file progress when in "Verbose" mode.

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

Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=128015&r1=128014&r2=128015&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Mon Mar 21 15:12:21 2011
@@ -183,7 +183,9 @@
     elsif (defined $HtmlDir) {
       push @Args, '-o', $HtmlDir;
     }
-    push @Args, "-Xclang", "-analyzer-display-progress";
+    if ($Verbose) {
+      push @Args, "-Xclang", "-analyzer-display-progress";
+    }
 
     foreach my $arg (@$AnalyzeArgs) {
       push @Args, "-Xclang", $arg;





More information about the cfe-commits mailing list