LLVM  5.0.0
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
 
std::vector< CoverageSegment >
::const_iterator 
end () const
 
bool empty () const
 
ArrayRef< ExpansionRecord > getExpansions () 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 404 of file CoverageMapping.h.

Constructor & Destructor Documentation

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

Definition at line 414 of file CoverageMapping.h.

Member Function Documentation

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

Definition at line 419 of file CoverageMapping.h.

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

Definition at line 427 of file CoverageMapping.h.

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

Definition at line 423 of file CoverageMapping.h.

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

Expansions that can be further processed.

Definition at line 430 of file CoverageMapping.h.

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

Get the name of the file this data covers.

Definition at line 417 of file CoverageMapping.h.

Friends And Related Function Documentation

friend class CoverageMapping
friend

Definition at line 405 of file CoverageMapping.h.


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