]> granicus.if.org Git - clang/commitdiff
Don't store reports when scan-build's build command matches /autogen/ (same as config...
authorTed Kremenek <kremenek@apple.com>
Fri, 1 Apr 2011 18:47:06 +0000 (18:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 1 Apr 2011 18:47:06 +0000 (18:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128723 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/scan-build

index f7e521f49ecb8ea4d275ec24edf56fc5134dbda8..9ba94d1474edb625b52e19e9454433c7374a2df0 100755 (executable)
@@ -201,8 +201,8 @@ sub SetHtmlEnv {
   die "No build command." if (scalar(@$Args) == 0);
   
   my $Cmd = $$Args[0];
-  
-  if ($Cmd =~ /configure/) {
+
+  if ($Cmd =~ /configure/ || $Cmd =~ /autogen/) {
     return;
   }