LLVM  8.0.1
Public Member Functions | List of all members
llvm::coverage::FunctionRecordIterator Class Reference

Iterator over Functions, optionally filtered to a single file. More...

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

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

Public Member Functions

 FunctionRecordIterator (ArrayRef< FunctionRecord > Records_, StringRef Filename="")
 
 FunctionRecordIterator ()
 
bool operator== (const FunctionRecordIterator &RHS) const
 
const FunctionRecordoperator* () const
 
FunctionRecordIteratoroperator++ ()
 
- Public Member Functions inherited from llvm::iterator_facade_base< FunctionRecordIterator, std::forward_iterator_tag, FunctionRecord >
FunctionRecordIterator operator+ (std::ptrdiff_t n) const
 
FunctionRecordIterator operator- (std::ptrdiff_t n) const
 
FunctionRecordIterator & operator++ ()
 
FunctionRecordIterator operator++ (int)
 
FunctionRecordIterator & operator-- ()
 
FunctionRecordIterator operator-- (int)
 
bool operator!= (const FunctionRecordIterator &RHS) const
 
bool operator> (const FunctionRecordIterator &RHS) const
 
bool operator<= (const FunctionRecordIterator &RHS) const
 
bool operator>= (const FunctionRecordIterator &RHS) const
 
FunctionRecord * operator-> ()
 
FunctionRecord * 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< FunctionRecordIterator, std::forward_iterator_tag, FunctionRecord >
enum  
 

Detailed Description

Iterator over Functions, optionally filtered to a single file.

Definition at line 326 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ FunctionRecordIterator() [1/2]

llvm::coverage::FunctionRecordIterator::FunctionRecordIterator ( ArrayRef< FunctionRecord Records_,
StringRef  Filename = "" 
)
inline

Definition at line 337 of file CoverageMapping.h.

◆ FunctionRecordIterator() [2/2]

llvm::coverage::FunctionRecordIterator::FunctionRecordIterator ( )
inline

Definition at line 343 of file CoverageMapping.h.

Member Function Documentation

◆ operator*()

const FunctionRecord& llvm::coverage::FunctionRecordIterator::operator* ( ) const
inline

Definition at line 349 of file CoverageMapping.h.

◆ operator++()

FunctionRecordIterator& llvm::coverage::FunctionRecordIterator::operator++ ( )
inline

Definition at line 351 of file CoverageMapping.h.

References assert(), and llvm::ArrayRef< T >::end().

◆ operator==()

bool llvm::coverage::FunctionRecordIterator::operator== ( const FunctionRecordIterator RHS) const
inline

Definition at line 345 of file CoverageMapping.h.


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