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 815 of file Module.h.

Member Typedef Documentation

◆ difference_type

Definition at line 824 of file Module.h.

◆ iterator_category

Definition at line 822 of file Module.h.

◆ pointer

Definition at line 825 of file Module.h.

◆ reference

Definition at line 826 of file Module.h.

◆ value_type

Definition at line 823 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 828 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 849 of file Module.h.

References I, and Idx.

◆ operator*()

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

Definition at line 429 of file Module.cpp.

◆ operator++() [1/2]

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

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

References Idx, and T.

◆ operator->()

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

Definition at line 432 of file Module.cpp.

◆ operator==()

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

Definition at line 845 of file Module.h.

References I, and Idx.


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