LLVM  8.0.1
Public Member Functions | List of all members
llvm::pdb::DbiModuleSourceFilesIterator Class Reference

#include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"

Inheritance diagram for llvm::pdb::DbiModuleSourceFilesIterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::pdb::DbiModuleSourceFilesIterator:
Collaboration graph
[legend]

Public Member Functions

 DbiModuleSourceFilesIterator (const DbiModuleList &Modules, uint32_t Modi, uint16_t Filei)
 
 DbiModuleSourceFilesIterator ()=default
 
DbiModuleSourceFilesIteratoroperator= (const DbiModuleSourceFilesIterator &R)=default
 
bool operator== (const DbiModuleSourceFilesIterator &R) const
 
const StringRefoperator* () const
 
StringRefoperator* ()
 
bool operator< (const DbiModuleSourceFilesIterator &RHS) const
 
std::ptrdiff_t operator- (const DbiModuleSourceFilesIterator &R) const
 
DbiModuleSourceFilesIteratoroperator+= (std::ptrdiff_t N)
 
DbiModuleSourceFilesIteratoroperator-= (std::ptrdiff_t N)
 
- Public Member Functions inherited from llvm::iterator_facade_base< DbiModuleSourceFilesIterator, std::random_access_iterator_tag, StringRef >
DbiModuleSourceFilesIterator operator+ (std::ptrdiff_t n) const
 
DbiModuleSourceFilesIterator operator- (std::ptrdiff_t n) const
 
DbiModuleSourceFilesIterator & operator++ ()
 
DbiModuleSourceFilesIterator operator++ (int)
 
DbiModuleSourceFilesIterator & operator-- ()
 
DbiModuleSourceFilesIterator operator-- (int)
 
bool operator!= (const DbiModuleSourceFilesIterator &RHS) const
 
bool operator> (const DbiModuleSourceFilesIterator &RHS) const
 
bool operator<= (const DbiModuleSourceFilesIterator &RHS) const
 
bool operator>= (const DbiModuleSourceFilesIterator &RHS) const
 
StringRefoperator-> ()
 
StringRefoperator-> () 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< DbiModuleSourceFilesIterator, std::random_access_iterator_tag, StringRef >
enum  
 

Detailed Description

Definition at line 32 of file DbiModuleList.h.

Constructor & Destructor Documentation

◆ DbiModuleSourceFilesIterator() [1/2]

DbiModuleSourceFilesIterator::DbiModuleSourceFilesIterator ( const DbiModuleList Modules,
uint32_t  Modi,
uint16_t  Filei 
)

Definition at line 24 of file DbiModuleList.cpp.

References operator==().

◆ DbiModuleSourceFilesIterator() [2/2]

llvm::pdb::DbiModuleSourceFilesIterator::DbiModuleSourceFilesIterator ( )
default

Member Function Documentation

◆ operator*() [1/2]

const StringRef& llvm::pdb::DbiModuleSourceFilesIterator::operator* ( ) const
inline

Definition at line 48 of file DbiModuleList.h.

◆ operator*() [2/2]

StringRef& llvm::pdb::DbiModuleSourceFilesIterator::operator* ( )
inline

Definition at line 49 of file DbiModuleList.h.

References N, operator+=(), operator-(), operator-=(), and operator<().

◆ operator+=()

DbiModuleSourceFilesIterator & DbiModuleSourceFilesIterator::operator+= ( std::ptrdiff_t  N)

Definition at line 97 of file DbiModuleList.cpp.

References assert(), N, and operator-=().

Referenced by operator*(), and operator-().

◆ operator-()

std::ptrdiff_t DbiModuleSourceFilesIterator::operator- ( const DbiModuleSourceFilesIterator R) const

Definition at line 72 of file DbiModuleList.cpp.

References assert(), llvm::pdb::DbiModuleList::getSourceFileCount(), and operator+=().

Referenced by operator*(), and operator<().

◆ operator-=()

DbiModuleSourceFilesIterator & DbiModuleSourceFilesIterator::operator-= ( std::ptrdiff_t  N)

◆ operator<()

bool DbiModuleSourceFilesIterator::operator< ( const DbiModuleSourceFilesIterator RHS) const

Definition at line 59 of file DbiModuleList.cpp.

References assert(), and operator-().

Referenced by operator*(), and operator==().

◆ operator=()

DbiModuleSourceFilesIterator& llvm::pdb::DbiModuleSourceFilesIterator::operator= ( const DbiModuleSourceFilesIterator R)
default

◆ operator==()

bool DbiModuleSourceFilesIterator::operator== ( const DbiModuleSourceFilesIterator R) const

Definition at line 31 of file DbiModuleList.cpp.

References assert(), and operator<().

Referenced by DbiModuleSourceFilesIterator().


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