mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[llvm-cov] Don't recompute the 'Covered' field from *CoverageInfo (NFC)
llvm-svn: 281874
This commit is contained in:
parent
e723e6ad9c
commit
f4d70a9a8f
@ -334,12 +334,11 @@ void CoveragePrinterHTML::emitFileSummary(raw_ostream &OS, StringRef SF,
|
|||||||
AddCoverageTripleToColumn(FCS.FunctionCoverage.Executed,
|
AddCoverageTripleToColumn(FCS.FunctionCoverage.Executed,
|
||||||
FCS.FunctionCoverage.NumFunctions,
|
FCS.FunctionCoverage.NumFunctions,
|
||||||
FCS.FunctionCoverage.getPercentCovered());
|
FCS.FunctionCoverage.getPercentCovered());
|
||||||
AddCoverageTripleToColumn(
|
AddCoverageTripleToColumn(FCS.LineCoverage.Covered, FCS.LineCoverage.NumLines,
|
||||||
FCS.LineCoverage.NumLines - FCS.LineCoverage.NotCovered,
|
FCS.LineCoverage.getPercentCovered());
|
||||||
FCS.LineCoverage.NumLines, FCS.LineCoverage.getPercentCovered());
|
AddCoverageTripleToColumn(FCS.RegionCoverage.Covered,
|
||||||
AddCoverageTripleToColumn(
|
FCS.RegionCoverage.NumRegions,
|
||||||
FCS.RegionCoverage.NumRegions - FCS.RegionCoverage.NotCovered,
|
FCS.RegionCoverage.getPercentCovered());
|
||||||
FCS.RegionCoverage.NumRegions, FCS.RegionCoverage.getPercentCovered());
|
|
||||||
|
|
||||||
OS << tag("tr", join(Columns.begin(), Columns.end(), ""), "light-row");
|
OS << tag("tr", join(Columns.begin(), Columns.end(), ""), "light-row");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user