[llvm-cov] Emit a link to some documentation

llvm-svn: 281883
This commit is contained in:
Vedant Kumar 2016-09-19 02:15:59 +00:00
parent b8d0694caa
commit 91743f2876
1 changed files with 7 additions and 0 deletions

View File

@ -374,6 +374,13 @@ Error CoveragePrinterHTML::createIndexFile(
if (Opts.hasCreatedTime())
OSRef << tag(CreatedTimeTag, escape(Opts.CreatedTimeStr, Opts));
// Emit a link to some documentation.
OSRef << tag("p", "Click " +
a("http://clang.llvm.org/docs/"
"SourceBasedCodeCoverage.html#interpreting-reports",
"here") +
" for information about interpreting this report.");
// Emit a table containing links to reports for each file in the covmapping.
OSRef << BeginCenteredDiv << BeginTable;
emitColumnLabelsForIndex(OSRef);