class CoverageData
Declaration
class CoverageData { /* full declaration omitted */ };
Description
Coverage information to be processed or displayed. This represents the coverage of an entire file, expansion, or function. It provides a sequence of CoverageSegments to iterate through, as well as the list of expansions that can be further processed.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:531
Member Variables
- private std::string Filename
- private std::vector<CoverageSegment> Segments
- private std::vector<ExpansionRecord> Expansions
- private std::vector<CountedRegion> BranchRegions
Method Overview
- public CoverageData()
- public CoverageData(llvm::StringRef Filename)
- public std::vector<CoverageSegment>::const_iterator begin() const
- public bool empty() const
- public std::vector<CoverageSegment>::const_iterator end() const
- public ArrayRef<llvm::coverage::CountedRegion> getBranches() const
- public ArrayRef<llvm::coverage::ExpansionRecord> getExpansions() const
- public llvm::StringRef getFilename() const
Methods
¶CoverageData()
CoverageData()
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:540
¶CoverageData(llvm::StringRef Filename)
CoverageData(llvm::StringRef Filename)
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:542
Parameters
- llvm::StringRef Filename
¶std::vector<CoverageSegment>::const_iterator
begin() const
std::vector<CoverageSegment>::const_iterator
begin() const
Description
Get an iterator over the coverage segments for this object. The segments are guaranteed to be uniqued and sorted by location.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:549
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:557
¶std::vector<CoverageSegment>::const_iterator end()
const
std::vector<CoverageSegment>::const_iterator end()
const
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:553
¶ArrayRef<llvm::coverage::CountedRegion>
getBranches() const
ArrayRef<llvm::coverage::CountedRegion>
getBranches() const
Description
Branches that can be further processed.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:563
¶ArrayRef<llvm::coverage::ExpansionRecord>
getExpansions() const
ArrayRef<llvm::coverage::ExpansionRecord>
getExpansions() const
Description
Expansions that can be further processed.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:560
¶llvm::StringRef getFilename() const
llvm::StringRef getFilename() const
Description
Get the name of the file this data covers.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h:545