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

Coverage statistics for a single line. More...

#include "llvm/ProfileData/Coverage/CoverageMapping.h"

Public Member Functions

 LineCoverageStats (ArrayRef< const CoverageSegment *> LineSegments, const CoverageSegment *WrappedSegment, unsigned Line)
 
uint64_t getExecutionCount () const
 
bool hasMultipleRegions () const
 
bool isMapped () const
 
unsigned getLine () const
 
ArrayRef< const CoverageSegment * > getLineSegments () const
 
const CoverageSegmentgetWrappedSegment () const
 

Friends

class LineCoverageIterator
 

Detailed Description

Coverage statistics for a single line.

Definition at line 598 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ LineCoverageStats()

LineCoverageStats::LineCoverageStats ( ArrayRef< const CoverageSegment *>  LineSegments,
const CoverageSegment WrappedSegment,
unsigned  Line 
)

Member Function Documentation

◆ getExecutionCount()

uint64_t llvm::coverage::LineCoverageStats::getExecutionCount ( ) const
inline

Definition at line 613 of file CoverageMapping.h.

◆ getLine()

unsigned llvm::coverage::LineCoverageStats::getLine ( ) const
inline

Definition at line 619 of file CoverageMapping.h.

◆ getLineSegments()

ArrayRef<const CoverageSegment *> llvm::coverage::LineCoverageStats::getLineSegments ( ) const
inline

Definition at line 621 of file CoverageMapping.h.

◆ getWrappedSegment()

const CoverageSegment* llvm::coverage::LineCoverageStats::getWrappedSegment ( ) const
inline

Definition at line 625 of file CoverageMapping.h.

◆ hasMultipleRegions()

bool llvm::coverage::LineCoverageStats::hasMultipleRegions ( ) const
inline

Definition at line 615 of file CoverageMapping.h.

◆ isMapped()

bool llvm::coverage::LineCoverageStats::isMapped ( ) const
inline

Definition at line 617 of file CoverageMapping.h.

Friends And Related Function Documentation

◆ LineCoverageIterator

friend class LineCoverageIterator
friend

Definition at line 606 of file CoverageMapping.h.


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