[llvm-cov] Move some layout logic to the right spot (NFC)
llvm-svn: 281590
This commit is contained in:
@@ -609,7 +609,7 @@ void SourceCoverageViewHTML::renderTableHeader(raw_ostream &OS,
|
||||
unsigned FirstUncoveredLineNo,
|
||||
unsigned ViewDepth) {
|
||||
std::string SourceLabel;
|
||||
if (FirstUncoveredLineNo == 0 || ViewDepth > 0) {
|
||||
if (FirstUncoveredLineNo == 0) {
|
||||
SourceLabel = tag("td", tag("pre", "Source"));
|
||||
} else {
|
||||
std::string LinkTarget = "#L" + utostr(uint64_t(FirstUncoveredLineNo));
|
||||
|
||||
Reference in New Issue
Block a user