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
[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

using iterator = std::vector< const CFGBlock * >::reverse_iterator
 
using const_iterator = std::vector< const CFGBlock * >::const_reverse_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 ()=default
 

Detailed Description

Definition at line 29 of file PostOrderCFGView.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 84 of file PostOrderCFGView.h.

◆ iterator

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

Definition at line 83 of file PostOrderCFGView.h.

Constructor & Destructor Documentation

◆ PostOrderCFGView()

PostOrderCFGView::PostOrderCFGView ( const CFG cfg)

Definition at line 22 of file PostOrderCFGView.cpp.

References clang::CFG::getNumBlockIDs().

Referenced by create().

Member Function Documentation

◆ begin() [1/2]

iterator clang::PostOrderCFGView::begin ( )
inline

Definition at line 88 of file PostOrderCFGView.h.

Referenced by empty().

◆ begin() [2/2]

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

Definition at line 91 of file PostOrderCFGView.h.

◆ create()

PostOrderCFGView * PostOrderCFGView::create ( AnalysisDeclContext analysisContext)
static

Definition at line 33 of file PostOrderCFGView.cpp.

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

Referenced by getComparator().

◆ empty()

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

Definition at line 94 of file PostOrderCFGView.h.

References begin(), and end().

◆ end() [1/2]

iterator clang::PostOrderCFGView::end ( )
inline

Definition at line 89 of file PostOrderCFGView.h.

Referenced by empty().

◆ end() [2/2]

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

Definition at line 92 of file PostOrderCFGView.h.

◆ getComparator()

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

Definition at line 105 of file PostOrderCFGView.h.

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

◆ getTag()

const void * PostOrderCFGView::getTag ( )
static

Definition at line 40 of file PostOrderCFGView.cpp.

Referenced by getComparator().

Friends And Related Function Documentation

◆ BlockOrderCompare

friend struct BlockOrderCompare
friend

Definition at line 81 of file PostOrderCFGView.h.

Referenced by getComparator().


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