LLVM 19.0.0git
|
Coverage information to be processed or displayed. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Member Functions | |
CoverageData ()=default | |
CoverageData (StringRef Filename) | |
StringRef | getFilename () const |
Get the name of the file this data covers. | |
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 887 of file CoverageMapping.h.
|
default |
|
inline |
Definition at line 899 of file CoverageMapping.h.
|
inline |
Get an iterator over the coverage segments for this object.
The segments are guaranteed to be uniqued and sorted by location.
Definition at line 906 of file CoverageMapping.h.
|
inline |
Definition at line 914 of file CoverageMapping.h.
|
inline |
Definition at line 910 of file CoverageMapping.h.
Referenced by llvm::coverage::LineCoverageIterator::getEnd(), and llvm::coverage::LineCoverageIterator::operator++().
|
inline |
Branches that can be further processed.
Definition at line 920 of file CoverageMapping.h.
|
inline |
Expansions that can be further processed.
Definition at line 917 of file CoverageMapping.h.
|
inline |
Get the name of the file this data covers.
Definition at line 902 of file CoverageMapping.h.
|
inline |
MCDC Records that can be further processed.
Definition at line 923 of file CoverageMapping.h.
|
friend |
Definition at line 888 of file CoverageMapping.h.