LLVM  8.0.1
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 588 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 603 of file CoverageMapping.h.

◆ getLine()

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

Definition at line 609 of file CoverageMapping.h.

◆ getLineSegments()

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

Definition at line 611 of file CoverageMapping.h.

◆ getWrappedSegment()

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

Definition at line 615 of file CoverageMapping.h.

◆ hasMultipleRegions()

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

Definition at line 605 of file CoverageMapping.h.

◆ isMapped()

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

Definition at line 607 of file CoverageMapping.h.

Friends And Related Function Documentation

◆ LineCoverageIterator

friend class LineCoverageIterator
friend

Definition at line 596 of file CoverageMapping.h.


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