LLVM  6.0.0svn
Public Member Functions | Friends | List of all members
llvm::DWARFAcceleratorTable::ValueIterator Class Reference

An iterator for the entries associated with one key. More...

#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"

Inheritance diagram for llvm::DWARFAcceleratorTable::ValueIterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::DWARFAcceleratorTable::ValueIterator:
Collaboration graph
[legend]

Public Member Functions

 ValueIterator (const DWARFAcceleratorTable &AccelTable, unsigned DataOffset)
 Construct a new iterator for the entries at DataOffset. More...
 
 ValueIterator ()=default
 End marker. More...
 
const ArrayRef< DWARFFormValueoperator* () const
 
ValueIteratoroperator++ ()
 
ValueIterator operator++ (int)
 

Friends

bool operator== (const ValueIterator &A, const ValueIterator &B)
 
bool operator!= (const ValueIterator &A, const ValueIterator &B)
 

Detailed Description

An iterator for the entries associated with one key.

Each entry can have multiple DWARFFormValues.

Definition at line 54 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ ValueIterator() [1/2]

DWARFAcceleratorTable::ValueIterator::ValueIterator ( const DWARFAcceleratorTable AccelTable,
unsigned  DataOffset 
)

Construct a new iterator for the entries at DataOffset.

Definition at line 199 of file DWARFAcceleratorTable.cpp.

References assert(), llvm::dwarf::DWARF32, llvm::DataExtractor::getU32(), and llvm::DataExtractor::isValidOffsetForDataOfSize().

◆ ValueIterator() [2/2]

llvm::DWARFAcceleratorTable::ValueIterator::ValueIterator ( )
default

End marker.

Referenced by llvm::DWARFAcceleratorTable::equal_range().

Member Function Documentation

◆ operator*()

const ArrayRef<DWARFFormValue> llvm::DWARFAcceleratorTable::ValueIterator::operator* ( ) const
inline

Definition at line 71 of file DWARFAcceleratorTable.h.

◆ operator++() [1/2]

ValueIterator& llvm::DWARFAcceleratorTable::ValueIterator::operator++ ( )
inline

Definition at line 74 of file DWARFAcceleratorTable.h.

◆ operator++() [2/2]

ValueIterator llvm::DWARFAcceleratorTable::ValueIterator::operator++ ( int  )
inline

Definition at line 75 of file DWARFAcceleratorTable.h.

References I.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const ValueIterator A,
const ValueIterator B 
)
friend

Definition at line 83 of file DWARFAcceleratorTable.h.

◆ operator==

bool operator== ( const ValueIterator A,
const ValueIterator B 
)
friend

Definition at line 80 of file DWARFAcceleratorTable.h.


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