LLVM 20.0.0git
|
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_iterator & | operator++ () |
debug_compile_units_iterator | operator++ (int) |
bool | operator== (const debug_compile_units_iterator &I) const |
bool | operator!= (const debug_compile_units_iterator &I) const |
DICompileUnit * | operator* () const |
DICompileUnit * | operator-> () const |
An iterator for DICompileUnits that skips those marked NoDebug.
using llvm::Module::debug_compile_units_iterator::difference_type = std::ptrdiff_t |
using llvm::Module::debug_compile_units_iterator::iterator_category = std::input_iterator_tag |
|
inlineexplicit |
|
inline |
DICompileUnit * Module::debug_compile_units_iterator::operator* | ( | ) | const |
Definition at line 394 of file Module.cpp.
References llvm::NamedMDNode::getOperand().
|
inline |
|
inline |
DICompileUnit * Module::debug_compile_units_iterator::operator-> | ( | ) | const |
Definition at line 397 of file Module.cpp.
References Idx.
|
inline |