From: Ted Kremenek Date: Fri, 1 Apr 2011 18:47:06 +0000 (+0000) Subject: Don't store reports when scan-build's build command matches /autogen/ (same as config... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e4a1bb0084bf3bf64595f57effe496cb2cf1863;p=clang Don't store reports when scan-build's build command matches /autogen/ (same as configure). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128723 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index f7e521f49e..9ba94d1474 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -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; }