LLVM  6.0.0svn
Public Member Functions | Friends | List of all members
llvm::coverage::CoverageData Class Reference

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. More...
 
std::vector< CoverageSegment >::const_iterator begin () const
 Get an iterator over the coverage segments for this object. More...
 
std::vector< CoverageSegment >::const_iterator end () const
 
bool empty () const
 
ArrayRef< ExpansionRecordgetExpansions () const
 Expansions that can be further processed. More...
 

Friends

class CoverageMapping
 

Detailed 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.

Definition at line 473 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ CoverageData() [1/2]

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

◆ CoverageData() [2/2]

llvm::coverage::CoverageData::CoverageData ( StringRef  Filename)
inline

Definition at line 483 of file CoverageMapping.h.

Member Function Documentation

◆ begin()

std::vector<CoverageSegment>::const_iterator llvm::coverage::CoverageData::begin ( ) const
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 490 of file CoverageMapping.h.

◆ empty()

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

Definition at line 498 of file CoverageMapping.h.

◆ end()

std::vector<CoverageSegment>::const_iterator llvm::coverage::CoverageData::end ( ) const
inline

Definition at line 494 of file CoverageMapping.h.

◆ getExpansions()

ArrayRef<ExpansionRecord> llvm::coverage::CoverageData::getExpansions ( ) const
inline

Expansions that can be further processed.

Definition at line 501 of file CoverageMapping.h.

◆ getFilename()

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

Get the name of the file this data covers.

Definition at line 486 of file CoverageMapping.h.

Friends And Related Function Documentation

◆ CoverageMapping

friend class CoverageMapping
friend

Definition at line 474 of file CoverageMapping.h.


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