LLVM  3.7.0
Public Member Functions | List of all members
llvm::DIExpression::expr_op_iterator Class Reference

An iterator for expression operands. More...

#include <DebugInfoMetadata.h>

Inheritance diagram for llvm::DIExpression::expr_op_iterator:
[legend]
Collaboration diagram for llvm::DIExpression::expr_op_iterator:
[legend]

Public Member Functions

 expr_op_iterator (element_iterator I)
 
element_iterator getBase () const
 
const ExprOperandoperator* () const
 
const ExprOperandoperator-> () const
 
expr_op_iteratoroperator++ ()
 
expr_op_iterator operator++ (int)
 
expr_op_iterator getNext () const
 Get the next iterator. More...
 
bool operator== (const expr_op_iterator &X) const
 
bool operator!= (const expr_op_iterator &X) const
 

Detailed Description

An iterator for expression operands.

Definition at line 2087 of file DebugInfoMetadata.h.

Constructor & Destructor Documentation

llvm::DIExpression::expr_op_iterator::expr_op_iterator ( element_iterator  I)
inlineexplicit

Definition at line 2092 of file DebugInfoMetadata.h.

Referenced by getNext().

Member Function Documentation

element_iterator llvm::DIExpression::expr_op_iterator::getBase ( ) const
inline

Definition at line 2094 of file DebugInfoMetadata.h.

References llvm::DIExpression::ExprOperand::get().

Referenced by operator!=(), and operator==().

expr_op_iterator llvm::DIExpression::expr_op_iterator::getNext ( ) const
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 2113 of file DebugInfoMetadata.h.

References expr_op_iterator().

bool llvm::DIExpression::expr_op_iterator::operator!= ( const expr_op_iterator X) const
inline

Definition at line 2118 of file DebugInfoMetadata.h.

References getBase().

const ExprOperand& llvm::DIExpression::expr_op_iterator::operator* ( ) const
inline

Definition at line 2095 of file DebugInfoMetadata.h.

expr_op_iterator& llvm::DIExpression::expr_op_iterator::operator++ ( )
inline

Definition at line 2098 of file DebugInfoMetadata.h.

expr_op_iterator llvm::DIExpression::expr_op_iterator::operator++ ( int  )
inline

Definition at line 2102 of file DebugInfoMetadata.h.

References T.

const ExprOperand* llvm::DIExpression::expr_op_iterator::operator-> ( ) const
inline

Definition at line 2096 of file DebugInfoMetadata.h.

bool llvm::DIExpression::expr_op_iterator::operator== ( const expr_op_iterator X) const
inline

Definition at line 2115 of file DebugInfoMetadata.h.

References getBase().


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