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

An iterator over the LineCoverageStats objects for lines described by a CoverageData instance. More...

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

Inheritance diagram for llvm::coverage::LineCoverageIterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::coverage::LineCoverageIterator:
Collaboration graph
[legend]

Public Member Functions

 LineCoverageIterator (const CoverageData &CD)
 
 LineCoverageIterator (const CoverageData &CD, unsigned Line)
 
LineCoverageIteratoroperator= (const LineCoverageIterator &R)=default
 
bool operator== (const LineCoverageIterator &R) const
 
const LineCoverageStatsoperator* () const
 
LineCoverageStatsoperator* ()
 
LineCoverageIteratoroperator++ ()
 
LineCoverageIterator getEnd () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< LineCoverageIterator, std::forward_iterator_tag, LineCoverageStats >
LineCoverageIterator operator+ (std::ptrdiff_t n) const
 
LineCoverageIterator operator- (std::ptrdiff_t n) const
 
LineCoverageIterator & operator++ ()
 
LineCoverageIterator operator++ (int)
 
LineCoverageIterator & operator-- ()
 
LineCoverageIterator operator-- (int)
 
bool operator!= (const LineCoverageIterator &RHS) const
 
bool operator> (const LineCoverageIterator &RHS) const
 
bool operator<= (const LineCoverageIterator &RHS) const
 
bool operator>= (const LineCoverageIterator &RHS) const
 
LineCoverageStats * operator-> ()
 
LineCoverageStats * operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n)
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Additional Inherited Members

- Protected Types inherited from llvm::iterator_facade_base< LineCoverageIterator, std::forward_iterator_tag, LineCoverageStats >
enum  
 

Detailed Description

An iterator over the LineCoverageStats objects for lines described by a CoverageData instance.

Definition at line 630 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ LineCoverageIterator() [1/2]

llvm::coverage::LineCoverageIterator::LineCoverageIterator ( const CoverageData CD)
inline

Definition at line 634 of file CoverageMapping.h.

◆ LineCoverageIterator() [2/2]

llvm::coverage::LineCoverageIterator::LineCoverageIterator ( const CoverageData CD,
unsigned  Line 
)
inline

Definition at line 637 of file CoverageMapping.h.

Member Function Documentation

◆ getEnd()

LineCoverageIterator llvm::coverage::LineCoverageIterator::getEnd ( ) const
inline

Definition at line 655 of file CoverageMapping.h.

References Stats.

◆ operator*() [1/2]

const LineCoverageStats& llvm::coverage::LineCoverageIterator::operator* ( ) const
inline

Definition at line 649 of file CoverageMapping.h.

References Stats.

◆ operator*() [2/2]

LineCoverageStats& llvm::coverage::LineCoverageIterator::operator* ( )
inline

Definition at line 651 of file CoverageMapping.h.

References Stats.

◆ operator++()

LineCoverageIterator & LineCoverageIterator::operator++ ( )

Definition at line 712 of file CoverageMapping.cpp.

References Stats.

◆ operator=()

LineCoverageIterator& llvm::coverage::LineCoverageIterator::operator= ( const LineCoverageIterator R)
default

◆ operator==()

bool llvm::coverage::LineCoverageIterator::operator== ( const LineCoverageIterator R) const
inline

Definition at line 645 of file CoverageMapping.h.


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