clang  3.7.0
Public Types | Public Member Functions | List of all members
clang::CFG::graph_iterator Class Reference

Provides a custom implementation of the iterator class to have the same interface as Function::iterator - iterator returns CFGBlock (not a pointer to CFGBlock). More...

#include <CFG.h>

Public Types

typedef const CFGBlock value_type
 
typedef value_typereference
 
typedef value_typepointer
 
typedef BumpVector< CFGBlock * >
::iterator 
ImplTy
 

Public Member Functions

 graph_iterator (const ImplTy &i)
 
bool operator== (const graph_iterator &X) const
 
bool operator!= (const graph_iterator &X) const
 
reference operator* () const
 
pointer operator-> () const
 
 operator CFGBlock * ()
 
graph_iteratoroperator++ ()
 
graph_iteratoroperator-- ()
 

Detailed Description

Provides a custom implementation of the iterator class to have the same interface as Function::iterator - iterator returns CFGBlock (not a pointer to CFGBlock).

Definition at line 768 of file CFG.h.

Member Typedef Documentation

Definition at line 773 of file CFG.h.

Definition at line 772 of file CFG.h.

Definition at line 771 of file CFG.h.

Definition at line 770 of file CFG.h.

Constructor & Destructor Documentation

clang::CFG::graph_iterator::graph_iterator ( const ImplTy i)
inline

Definition at line 775 of file CFG.h.

Member Function Documentation

clang::CFG::graph_iterator::operator CFGBlock * ( )
inline

Definition at line 782 of file CFG.h.

bool clang::CFG::graph_iterator::operator!= ( const graph_iterator X) const
inline

Definition at line 778 of file CFG.h.

reference clang::CFG::graph_iterator::operator* ( ) const
inline

Definition at line 780 of file CFG.h.

graph_iterator& clang::CFG::graph_iterator::operator++ ( )
inline

Definition at line 784 of file CFG.h.

graph_iterator& clang::CFG::graph_iterator::operator-- ( )
inline

Definition at line 785 of file CFG.h.

pointer clang::CFG::graph_iterator::operator-> ( ) const
inline

Definition at line 781 of file CFG.h.

bool clang::CFG::graph_iterator::operator== ( const graph_iterator X) const
inline

Definition at line 777 of file CFG.h.


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