LLVM 22.0.0git
|
An iterator for expression operands. More...
#include "llvm/IR/DebugInfoMetadata.h"
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = ExprOperand |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
expr_op_iterator ()=default | |
expr_op_iterator (element_iterator I) | |
element_iterator | getBase () const |
const ExprOperand & | operator* () const |
const ExprOperand * | operator-> () const |
expr_op_iterator & | operator++ () |
expr_op_iterator | operator++ (int) |
expr_op_iterator | getNext () const |
Get the next iterator. | |
bool | operator== (const expr_op_iterator &X) const |
bool | operator!= (const expr_op_iterator &X) const |
An iterator for expression operands.
Definition at line 3443 of file DebugInfoMetadata.h.
using llvm::DIExpression::expr_op_iterator::difference_type = std::ptrdiff_t |
Definition at line 3449 of file DebugInfoMetadata.h.
using llvm::DIExpression::expr_op_iterator::iterator_category = std::input_iterator_tag |
Definition at line 3447 of file DebugInfoMetadata.h.
Definition at line 3450 of file DebugInfoMetadata.h.
Definition at line 3451 of file DebugInfoMetadata.h.
Definition at line 3448 of file DebugInfoMetadata.h.
|
default |
Referenced by getNext(), operator!=(), operator++(), operator++(), and operator==().
|
inlineexplicit |
Definition at line 3454 of file DebugInfoMetadata.h.
References I.
|
inline |
Definition at line 3456 of file DebugInfoMetadata.h.
Referenced by operator!=(), and operator==().
|
inline |
Get the next iterator.
std::next() doesn't work because this is technically an input_iterator, but it's a perfectly valid operation. This is an accessor to provide the same functionality.
Definition at line 3475 of file DebugInfoMetadata.h.
References expr_op_iterator().
Referenced by llvm::DIExpressionCursor::peekNextN().
|
inline |
Definition at line 3480 of file DebugInfoMetadata.h.
References expr_op_iterator(), getBase(), and X.
|
inline |
Definition at line 3457 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3460 of file DebugInfoMetadata.h.
References expr_op_iterator().
|
inline |
Definition at line 3464 of file DebugInfoMetadata.h.
References expr_op_iterator(), and T.
|
inline |
Definition at line 3458 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3477 of file DebugInfoMetadata.h.
References expr_op_iterator(), getBase(), and X.