LLVM: llvm::coverage::CoverageData Class Reference (original) (raw)

Coverage information to be processed or displayed. More...

#include "[llvm/ProfileData/Coverage/CoverageMapping.h](CoverageMapping%5F8h%5Fsource.html)"

Public Member Functions
CoverageData ()=default
CoverageData (bool Single, StringRef Filename)
StringRef getFilename () const
Get the name of the file this data covers.
bool getSingleByteCoverage () const
std::vector< CoverageSegment >::const_iterator begin () const
Get an iterator over the coverage segments for this object.
std::vector< CoverageSegment >::const_iterator end () const
bool empty () const
ArrayRef< ExpansionRecord > getExpansions () const
Expansions that can be further processed.
ArrayRef< CountedRegion > getBranches () const
Branches that can be further processed.
ArrayRef< MCDCRecord > getMCDCRecords () const
MCDC Records that can be further processed.
Friends
class CoverageMapping

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.

Definition at line 943 of file CoverageMapping.h.

llvm::coverage::CoverageData::CoverageData ( ) default

CoverageData() [2/2]

llvm::coverage::CoverageData::CoverageData ( bool Single, StringRef Filename ) inline

begin()

empty()

bool llvm::coverage::CoverageData::empty ( ) const inline

end()

getBranches()

getExpansions()

getFilename()

StringRef llvm::coverage::CoverageData::getFilename ( ) const inline

getMCDCRecords()

getSingleByteCoverage()

bool llvm::coverage::CoverageData::getSingleByteCoverage ( ) const inline

CoverageMapping


The documentation for this class was generated from the following file: