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

An iterator for DICompileUnits that skips those marked NoDebug. More...

#include "llvm/IR/Module.h"

Public Types

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

Public Member Functions

 debug_compile_units_iterator (NamedMDNode *CUs, unsigned Idx)
 
debug_compile_units_iteratoroperator++ ()
 
debug_compile_units_iterator operator++ (int)
 
bool operator== (const debug_compile_units_iterator &I) const
 
bool operator!= (const debug_compile_units_iterator &I) const
 
DICompileUnitoperator* () const
 
DICompileUnitoperator-> () const
 

Detailed Description

An iterator for DICompileUnits that skips those marked NoDebug.

Definition at line 724 of file Module.h.

Member Typedef Documentation

◆ difference_type

Definition at line 733 of file Module.h.

◆ iterator_category

Definition at line 731 of file Module.h.

◆ pointer

Definition at line 734 of file Module.h.

◆ reference

Definition at line 735 of file Module.h.

◆ value_type

Definition at line 732 of file Module.h.

Constructor & Destructor Documentation

◆ debug_compile_units_iterator()

llvm::Module::debug_compile_units_iterator::debug_compile_units_iterator ( NamedMDNode CUs,
unsigned  Idx 
)
inlineexplicit

Definition at line 737 of file Module.h.

Member Function Documentation

◆ operator!=()

bool llvm::Module::debug_compile_units_iterator::operator!= ( const debug_compile_units_iterator I) const
inline

Definition at line 758 of file Module.h.

References I.

◆ operator*()

DICompileUnit * Module::debug_compile_units_iterator::operator* ( ) const

Definition at line 403 of file Module.cpp.

References llvm::NamedMDNode::getOperand().

◆ operator++() [1/2]

debug_compile_units_iterator& llvm::Module::debug_compile_units_iterator::operator++ ( )
inline

Definition at line 742 of file Module.h.

◆ operator++() [2/2]

debug_compile_units_iterator llvm::Module::debug_compile_units_iterator::operator++ ( int  )
inline

Definition at line 748 of file Module.h.

References T.

◆ operator->()

DICompileUnit * Module::debug_compile_units_iterator::operator-> ( ) const

Definition at line 406 of file Module.cpp.

◆ operator==()

bool llvm::Module::debug_compile_units_iterator::operator== ( const debug_compile_units_iterator I) const
inline

Definition at line 754 of file Module.h.

References I.


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