clang  6.0.0svn
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::PostOrderCFGView Class Reference

#include "clang/Analysis/Analyses/PostOrderCFGView.h"

Inheritance diagram for clang::PostOrderCFGView:
Inheritance graph
[legend]
Collaboration diagram for clang::PostOrderCFGView:
Collaboration graph
[legend]

Classes

struct  BlockOrderCompare
 
class  CFGBlockSet
 Implements a set of CFGBlocks using a BitVector. More...
 

Public Types

typedef std::vector< const CFGBlock * >::reverse_iterator iterator
 
typedef std::vector< const CFGBlock * >::const_reverse_iterator const_iterator
 

Public Member Functions

 PostOrderCFGView (const CFG *cfg)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
BlockOrderCompare getComparator () const
 
- Public Member Functions inherited from clang::ManagedAnalysis
virtual ~ManagedAnalysis ()
 

Static Public Member Functions

static const void * getTag ()
 
static PostOrderCFGViewcreate (AnalysisDeclContext &analysisContext)
 

Friends

struct BlockOrderCompare
 

Additional Inherited Members

- Protected Member Functions inherited from clang::ManagedAnalysis
 ManagedAnalysis ()
 

Detailed Description

Definition at line 29 of file PostOrderCFGView.h.

Member Typedef Documentation

◆ const_iterator

typedef std::vector<const CFGBlock *>::const_reverse_iterator clang::PostOrderCFGView::const_iterator

Definition at line 80 of file PostOrderCFGView.h.

◆ iterator

typedef std::vector<const CFGBlock *>::reverse_iterator clang::PostOrderCFGView::iterator

Definition at line 79 of file PostOrderCFGView.h.

Constructor & Destructor Documentation

◆ PostOrderCFGView()

PostOrderCFGView::PostOrderCFGView ( const CFG cfg)

Definition at line 20 of file PostOrderCFGView.cpp.

References clang::CFG::getNumBlockIDs().

Referenced by create().

Member Function Documentation

◆ begin() [1/2]

iterator clang::PostOrderCFGView::begin ( )
inline

◆ begin() [2/2]

const_iterator clang::PostOrderCFGView::begin ( ) const
inline

Definition at line 87 of file PostOrderCFGView.h.

◆ create()

PostOrderCFGView * PostOrderCFGView::create ( AnalysisDeclContext analysisContext)
static

Definition at line 31 of file PostOrderCFGView.cpp.

References clang::AnalysisDeclContext::getCFG(), and PostOrderCFGView().

Referenced by getComparator().

◆ empty()

bool clang::PostOrderCFGView::empty ( ) const
inline

Definition at line 90 of file PostOrderCFGView.h.

References begin(), and end().

◆ end() [1/2]

iterator clang::PostOrderCFGView::end ( )
inline

◆ end() [2/2]

const_iterator clang::PostOrderCFGView::end ( ) const
inline

Definition at line 88 of file PostOrderCFGView.h.

◆ getComparator()

BlockOrderCompare clang::PostOrderCFGView::getComparator ( ) const
inline

Definition at line 102 of file PostOrderCFGView.h.

References BlockOrderCompare, create(), and getTag().

◆ getTag()

const void * PostOrderCFGView::getTag ( )
static

Definition at line 38 of file PostOrderCFGView.cpp.

Referenced by getComparator().

Friends And Related Function Documentation

◆ BlockOrderCompare

friend struct BlockOrderCompare
friend

Definition at line 92 of file PostOrderCFGView.h.

Referenced by getComparator().


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