mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
[llvm-cov] Use the coverage namespace. NFC.
This is a simple code cleanup. It will facilitate moving LineCoverageIterator to libCoverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -365,8 +365,7 @@ void CoveragePrinterHTML::emitFileSummary(raw_ostream &OS, StringRef SF,
|
||||
}
|
||||
|
||||
Error CoveragePrinterHTML::createIndexFile(
|
||||
ArrayRef<std::string> SourceFiles,
|
||||
const coverage::CoverageMapping &Coverage,
|
||||
ArrayRef<std::string> SourceFiles, const CoverageMapping &Coverage,
|
||||
const CoverageFiltersMatchAll &Filters) {
|
||||
// Emit the default stylesheet.
|
||||
auto CSSOrErr = createOutputStream("style", "css", /*InToplevel=*/true);
|
||||
@@ -515,7 +514,7 @@ void SourceCoverageViewHTML::renderLine(raw_ostream &OS, LineRef L,
|
||||
return tag("span", Snippet, Color.getValue());
|
||||
};
|
||||
|
||||
auto CheckIfUncovered = [](const coverage::CoverageSegment *S) {
|
||||
auto CheckIfUncovered = [](const CoverageSegment *S) {
|
||||
return S && S->HasCount && S->Count == 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user