LLVM 20.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 885 of file CoverageMapping.h.
|
default |
|
inline |
Definition at line 897 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 904 of file CoverageMapping.h.
|
inline |
Definition at line 912 of file CoverageMapping.h.
|
inline |
Definition at line 908 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 918 of file CoverageMapping.h.
|
inline |
Expansions that can be further processed.
Definition at line 915 of file CoverageMapping.h.
|
inline |
Get the name of the file this data covers.
Definition at line 900 of file CoverageMapping.h.
|
inline |
MCDC Records that can be further processed.
Definition at line 921 of file CoverageMapping.h.
|
friend |
Definition at line 886 of file CoverageMapping.h.