[llvm-cov] Emit a link to some documentation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vedant Kumar
2016-09-19 02:15:59 +00:00
parent 1b70b5dcc9
commit 764028eefa
@@ -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);