LLVM  12.0.0git
Public Member Functions | Friends | List of all members
llvm::DWARFDebugNames::ValueIterator Class Reference

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

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

Public Member Functions

 ValueIterator (const DWARFDebugNames &AccelTable, StringRef Key)
 Create a "begin" iterator for looping over all entries in the accelerator table matching Key. More...
 
 ValueIterator (const NameIndex &NI, StringRef Key)
 Create a "begin" iterator for looping over all entries in a specific Name Index. More...
 
 ValueIterator ()=default
 End marker. More...
 
const Entryoperator* () const
 
ValueIteratoroperator++ ()
 
ValueIterator operator++ (int)
 

Friends

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

Detailed Description

Definition at line 469 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ ValueIterator() [1/3]

DWARFDebugNames::ValueIterator::ValueIterator ( const DWARFDebugNames AccelTable,
StringRef  Key 
)

Create a "begin" iterator for looping over all entries in the accelerator table matching Key.

The iterator will run through all Name Indexes in the section in sequence.

Definition at line 875 of file DWARFAcceleratorTable.cpp.

References string.

◆ ValueIterator() [2/3]

DWARFDebugNames::ValueIterator::ValueIterator ( const NameIndex NI,
StringRef  Key 
)

Create a "begin" iterator for looping over all entries in a specific Name Index.

Other indices in the section will not be visited.

Definition at line 882 of file DWARFAcceleratorTable.cpp.

References string.

◆ ValueIterator() [3/3]

llvm::DWARFDebugNames::ValueIterator::ValueIterator ( )
default

End marker.

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

Member Function Documentation

◆ operator*()

const Entry& llvm::DWARFDebugNames::ValueIterator::operator* ( ) const
inline

Definition at line 507 of file DWARFAcceleratorTable.h.

◆ operator++() [1/2]

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

Definition at line 508 of file DWARFAcceleratorTable.h.

◆ operator++() [2/2]

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

Definition at line 512 of file DWARFAcceleratorTable.h.

References I.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 521 of file DWARFAcceleratorTable.h.

◆ operator==

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

Definition at line 518 of file DWARFAcceleratorTable.h.


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