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

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

#include <CoverageMapping.h>

Public Member Functions

 CoverageData ()
 
 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< 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 392 of file CoverageMapping.h.

Constructor & Destructor Documentation

llvm::coverage::CoverageData::CoverageData ( )
inline

Definition at line 399 of file CoverageMapping.h.

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

Definition at line 401 of file CoverageMapping.h.

Member Function Documentation

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

Definition at line 406 of file CoverageMapping.h.

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

Definition at line 412 of file CoverageMapping.h.

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

Definition at line 409 of file CoverageMapping.h.

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

Expansions that can be further processed.

Definition at line 415 of file CoverageMapping.h.

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

Get the name of the file this data covers.

Definition at line 404 of file CoverageMapping.h.

Friends And Related Function Documentation

friend class CoverageMapping
friend

Definition at line 396 of file CoverageMapping.h.


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