LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::DWARFDie::iterator Class Reference

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

Inheritance diagram for llvm::DWARFDie::iterator:
Inheritance graph
[legend]

Public Member Functions

 iterator ()=default
 
 iterator (DWARFDie D)
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 
const DWARFDieoperator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< iterator, std::bidirectional_iterator_tag, const DWARFDie >
iterator operator+ (std::ptrdiff_t n) const
 
iterator operator- (std::ptrdiff_t n) const
 
iterator & operator++ ()
 
iterator operator++ (int)
 
iterator & operator-- ()
 
iterator operator-- (int)
 
bool operator!= (const iterator &RHS) const
 
bool operator> (const iterator &RHS) const
 
bool operator<= (const iterator &RHS) const
 
bool operator>= (const iterator &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Friends

bool operator== (const DWARFDie::iterator &LHS, const DWARFDie::iterator &RHS)
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< iterator, std::bidirectional_iterator_tag, const DWARFDie >
using iterator_category = std::bidirectional_iterator_tag
 
using value_type = const DWARFDie
 
using difference_type = std::ptrdiff_t
 
using pointer = const DWARFDie *
 
using reference = const DWARFDie &
 
- Protected Types inherited from llvm::iterator_facade_base< iterator, std::bidirectional_iterator_tag, const DWARFDie >
enum  
 

Detailed Description

Definition at line 353 of file DWARFDie.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

llvm::DWARFDie::iterator::iterator ( )
default

◆ iterator() [2/2]

llvm::DWARFDie::iterator::iterator ( DWARFDie  D)
inlineexplicit

Definition at line 365 of file DWARFDie.h.

Member Function Documentation

◆ operator*()

const DWARFDie & llvm::DWARFDie::iterator::operator* ( ) const
inline

Definition at line 377 of file DWARFDie.h.

◆ operator++()

iterator & llvm::DWARFDie::iterator::operator++ ( )
inline

Definition at line 367 of file DWARFDie.h.

References llvm::DWARFDie::getSibling().

◆ operator--()

iterator & llvm::DWARFDie::iterator::operator-- ( )
inline

Definition at line 372 of file DWARFDie.h.

References llvm::DWARFDie::getPreviousSibling().

Friends And Related Function Documentation

◆ operator==

bool operator== ( const DWARFDie::iterator LHS,
const DWARFDie::iterator RHS 
)
friend

Definition at line 380 of file DWARFDie.h.


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