Always process an index.html file if we have HTML output. Patch by Justin Bogner.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173294 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
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);