aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-09-21 03:55:51 +0000
committerTed Kremenek <kremenek@apple.com>2008-09-21 03:55:51 +0000
commit3bf5ebe69f3514d9f62b602c566df4f37bc4f222 (patch)
tree96098baf02967a2da3d9b29e9b84a560d6f6ab43
parent5977110055fec753798eea36a9509527dd8c360a (diff)
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
-rw-r--r--tools/scan-view/ScanView.py2
-rwxr-xr-xutils/scan-build2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/scan-view/ScanView.py b/tools/scan-view/ScanView.py
index 5e7bbf4fe8..b001973f71 100644
--- a/tools/scan-view/ScanView.py
+++ b/tools/scan-view/ScanView.py
@@ -16,7 +16,7 @@ import Reporter
# 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 c76441cde1..41ef6973ab 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -569,7 +569,7 @@ ENDTEXT
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";