Always process an index.html file if we have HTML output. Patch by Justin Bogner.
authorTed Kremenek <kremenek@apple.com>
Wed, 23 Jan 2013 21:22:14 +0000 (21:22 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 23 Jan 2013 21:22:14 +0000 (21:22 +0000)
llvm-svn: 173294

clang/tools/scan-build/scan-build

index 5bff0d9..20b85a0 100755 (executable)
@@ -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);