[cfe-commits] [PATCH] scan-build: Always generate index.html when outputting html

Ted Kremenek kremenek at apple.com
Wed Jan 23 13:22:56 PST 2013


Thanks for the ping.  Applied in:  r173294

On Jan 23, 2013, at 1:16 PM, Justin Bogner <mail at justinbogner.com> wrote:

> Can someone please apply this?
> 
> From 18f41253cbb7e673f4a8b7ad42d60175d043f0a6 Mon Sep 17 00:00:00 2001
> From: Justin Bogner <mail at justinbogner.com>
> Date: Wed, 23 Jan 2013 13:45:55 -0700
> Subject: [PATCH] scan-build: Always generate index.html when outputting html
> 
> If we're generating plist output, we obviously don't want to generate
> the html index files. Unfortunately, the current check also catches
> plist-html, in which case we actually do need an index. This change
> causes us to generate an index for any output format that includes
> html.
> ---
> tools/scan-build/scan-build |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build
> index 5bff0d9..20b85a0 100755
> --- a/tools/scan-build/scan-build
> +++ b/tools/scan-build/scan-build
> @@ -1563,7 +1563,7 @@ if (defined $OutputFormat) {
>     Diag "Analysis run complete.\n";
>     Diag "Analysis results (plist files) deposited in '$HtmlDir'\n";
>   }
> -  elsif ($OutputFormat =~ /html/) {
> +  if ($OutputFormat =~ /html/) {
>     # Postprocess the HTML directory.
>     my $NumBugs = Postprocess($HtmlDir, $BaseDir, $AnalyzerStats);
> 
> -- 
> 1.7.9.5
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list