LLVM 20.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 812 of file Module.h.

Member Typedef Documentation

◆ difference_type

Definition at line 821 of file Module.h.

◆ iterator_category

Definition at line 819 of file Module.h.

◆ pointer

Definition at line 822 of file Module.h.

◆ reference

Definition at line 823 of file Module.h.

◆ value_type

Definition at line 820 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 825 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 846 of file Module.h.

References I, and Idx.

◆ operator*()

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

Definition at line 394 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 830 of file Module.h.

References Idx.

◆ operator++() [2/2]

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

Definition at line 836 of file Module.h.

References Idx, and T.

◆ operator->()

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

Definition at line 397 of file Module.cpp.

References Idx.

◆ operator==()

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

Definition at line 842 of file Module.h.

References I, and Idx.


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