LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::coverage::CoverageMappingIterator Class Reference

A file format agnostic iterator over coverage mapping data. More...

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

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = CoverageMappingRecord
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 CoverageMappingIterator ()
 
 CoverageMappingIterator (CoverageMappingReader *Reader)
 
 ~CoverageMappingIterator ()
 
CoverageMappingIteratoroperator++ ()
 
bool operator== (const CoverageMappingIterator &RHS) const
 
bool operator!= (const CoverageMappingIterator &RHS) const
 
Expected< CoverageMappingRecord & > operator* ()
 
Expected< CoverageMappingRecord * > operator-> ()
 

Detailed Description

A file format agnostic iterator over coverage mapping data.

Definition at line 44 of file CoverageMappingReader.h.

Member Typedef Documentation

◆ difference_type

Definition at line 54 of file CoverageMappingReader.h.

◆ iterator_category

Definition at line 52 of file CoverageMappingReader.h.

◆ pointer

Definition at line 55 of file CoverageMappingReader.h.

◆ reference

Definition at line 56 of file CoverageMappingReader.h.

◆ value_type

Definition at line 53 of file CoverageMappingReader.h.

Constructor & Destructor Documentation

◆ CoverageMappingIterator() [1/2]

llvm::coverage::CoverageMappingIterator::CoverageMappingIterator ( )
inline

Definition at line 58 of file CoverageMappingReader.h.

References llvm::coverage::success.

◆ CoverageMappingIterator() [2/2]

llvm::coverage::CoverageMappingIterator::CoverageMappingIterator ( CoverageMappingReader Reader)
inline

Definition at line 61 of file CoverageMappingReader.h.

References llvm::coverage::success.

◆ ~CoverageMappingIterator()

llvm::coverage::CoverageMappingIterator::~CoverageMappingIterator ( )
inline

Definition at line 66 of file CoverageMappingReader.h.

References llvm_unreachable, and llvm::coverage::success.

Member Function Documentation

◆ operator!=()

bool llvm::coverage::CoverageMappingIterator::operator!= ( const CoverageMappingIterator RHS) const
inline

Definition at line 78 of file CoverageMappingReader.h.

◆ operator*()

Expected<CoverageMappingRecord &> llvm::coverage::CoverageMappingIterator::operator* ( )
inline

Definition at line 81 of file CoverageMappingReader.h.

References E, move, and llvm::coverage::success.

◆ operator++()

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

Definition at line 71 of file CoverageMappingReader.h.

◆ operator->()

Expected<CoverageMappingRecord *> llvm::coverage::CoverageMappingIterator::operator-> ( )
inline

Definition at line 89 of file CoverageMappingReader.h.

References E, move, and llvm::coverage::success.

◆ operator==()

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

Definition at line 75 of file CoverageMappingReader.h.


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