clang  7.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
Collaboration diagram for clang::PostOrderCFGView:
Collaboration graph


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)


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 ( )

◆ begin() [2/2]

const_iterator clang::PostOrderCFGView::begin ( ) const

Definition at line 87 of file PostOrderCFGView.h.

◆ create()

PostOrderCFGView * PostOrderCFGView::create ( AnalysisDeclContext analysisContext)

Definition at line 31 of file PostOrderCFGView.cpp.

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

Referenced by getComparator().

◆ empty()

bool clang::PostOrderCFGView::empty ( ) const

Definition at line 90 of file PostOrderCFGView.h.

References begin(), and end().

◆ end() [1/2]

iterator clang::PostOrderCFGView::end ( )

◆ end() [2/2]

const_iterator clang::PostOrderCFGView::end ( ) const

Definition at line 88 of file PostOrderCFGView.h.

◆ getComparator()

BlockOrderCompare clang::PostOrderCFGView::getComparator ( ) const

Definition at line 102 of file PostOrderCFGView.h.

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

◆ getTag()

const void * PostOrderCFGView::getTag ( )

Definition at line 38 of file PostOrderCFGView.cpp.

Referenced by getComparator().

Friends And Related Function Documentation

◆ BlockOrderCompare

friend struct BlockOrderCompare

Definition at line 92 of file PostOrderCFGView.h.

Referenced by getComparator().

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