LLVM  8.0.1
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)
 
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 620 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ LineCoverageIterator() [1/2]

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

Definition at line 624 of file CoverageMapping.h.

◆ LineCoverageIterator() [2/2]

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

Definition at line 627 of file CoverageMapping.h.

Member Function Documentation

◆ getEnd()

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

Definition at line 643 of file CoverageMapping.h.

References Stats.

◆ operator*() [1/2]

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

Definition at line 637 of file CoverageMapping.h.

References Stats.

◆ operator*() [2/2]

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

Definition at line 639 of file CoverageMapping.h.

References Stats.

◆ operator++()

LineCoverageIterator & LineCoverageIterator::operator++ ( )

Definition at line 723 of file CoverageMapping.cpp.

References Stats.

◆ operator==()

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

Definition at line 633 of file CoverageMapping.h.


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