aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-04-01 18:47:06 +0000
committerTed Kremenek <kremenek@apple.com>2011-04-01 18:47:06 +0000
commit9e4a1bb0084bf3bf64595f57effe496cb2cf1863 (patch)
treea36019dab3d8c30a1344999c374600c660704ddd
parenta35d5d7700b519d713039afd31477e95e2da7aa7 (diff)
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
-rwxr-xr-xtools/scan-build/scan-build4
1 files changed, 2 insertions, 2 deletions
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;
}