[cfe-commits] r128723 - /cfe/trunk/tools/scan-build/scan-build

Ted Kremenek kremenek at apple.com
Fri Apr 1 11:47:06 PDT 2011


Author: kremenek
Date: Fri Apr  1 13:47:06 2011
New Revision: 128723

URL: http://llvm.org/viewvc/llvm-project?rev=128723&view=rev
Log:
Don't store reports when scan-build's build command matches /autogen/ (same as configure).

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=128723&r1=128722&r2=128723&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Fri Apr  1 13:47:06 2011
@@ -201,8 +201,8 @@
   die "No build command." if (scalar(@$Args) == 0);
   
   my $Cmd = $$Args[0];
-  
-  if ($Cmd =~ /configure/) {
+
+  if ($Cmd =~ /configure/ || $Cmd =~ /autogen/) {
     return;
   }
   





More information about the cfe-commits mailing list