diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-09-21 03:55:51 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-09-21 03:55:51 +0000 |
| commit | ebb4245b84ea376dec9f44f6096a9992d39ef59a (patch) | |
| tree | 1cdfe39271b9be8d6cdf4b1a65591823dae82164 /clang | |
| parent | 9a8eb0d534cd04b8ba8b47396b93699c56c9f53c (diff) | |
| download | bcm5719-llvm-ebb4245b84ea376dec9f44f6096a9992d39ef59a.tar.gz bcm5719-llvm-ebb4245b84ea376dec9f44f6096a9992d39ef59a.zip | |
Have ScanView.py generate a "<td></td>" pair in the output HTML instead of having scan-build output an empty (and possibly unused) <td>.
llvm-svn: 56393
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/tools/scan-view/ScanView.py | 2 | ||||
| -rwxr-xr-x | clang/utils/scan-build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/scan-view/ScanView.py b/clang/tools/scan-view/ScanView.py index 5e7bbf4fe8c..b001973f715 100644 --- a/clang/tools/scan-view/ScanView.py +++ b/clang/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/clang/utils/scan-build b/clang/utils/scan-build index c76441cde1e..41ef6973ab8 100755 --- a/clang/utils/scan-build +++ b/clang/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"; |

