Have ScanView.py generate a "<td></td>" pair in the output HTML instead of having scan-build output an empty (and possibly unused) <td>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56393 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/scan-view/ScanView.py b/tools/scan-view/ScanView.py
index 5e7bbf4..b001973 100644
--- a/tools/scan-view/ScanView.py
+++ b/tools/scan-view/ScanView.py
@@ -16,7 +16,7 @@
# Keys replaced by server.
kReportBugRE = re.compile('<!-- REPORTBUG id="report-(.*)\\.html" -->')
-kReportBugRepl = '<a class="ReportBugLink" href="report/\\1">Report Bug</a>'
+kReportBugRepl = '<td class="ReportBug"><a href="report/\\1">Report Bug</a></td>'
kBugKeyValueRE = re.compile('<!-- BUG([^ ]*) (.*) -->')
###
diff --git a/utils/scan-build b/utils/scan-build
index c76441c..41ef697 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -569,7 +569,7 @@
print OUT " <td class=\"View\"><a href=\"$ReportFile#EndPath\">View</a></td>\n";
# Emit REPORTBUG markers.
- print OUT " <td class=\"ReportBug\"><!-- REPORTBUG id=\"$ReportFile\" --></td>\n";
+ print OUT "<!-- REPORTBUG id=\"$ReportFile\" -->\n";
# End the row.
print OUT "</tr>\n";