clang API Documentation

Public Types | Public Member Functions
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>

List of all members.

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 597 of file CFG.h.


Member Typedef Documentation

Definition at line 602 of file CFG.h.

Definition at line 601 of file CFG.h.

Definition at line 600 of file CFG.h.

Definition at line 599 of file CFG.h.


Constructor & Destructor Documentation

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

Definition at line 604 of file CFG.h.


Member Function Documentation

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

Definition at line 611 of file CFG.h.

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

Definition at line 607 of file CFG.h.

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

Definition at line 609 of file CFG.h.

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

Definition at line 613 of file CFG.h.

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

Definition at line 614 of file CFG.h.

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

Definition at line 610 of file CFG.h.

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

Definition at line 606 of file CFG.h.


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