clang  3.9.0
Public Member Functions | List of all members
clang::CFGTerminator Class Reference

CFGTerminator - Represents CFGBlock terminator statement. More...

#include <CFG.h>

Public Member Functions

 CFGTerminator ()
 
 CFGTerminator (Stmt *S, bool TemporaryDtorsBranch=false)
 
StmtgetStmt ()
 
const StmtgetStmt () const
 
bool isTemporaryDtorsBranch () const
 
 operator Stmt * ()
 
 operator const Stmt * () const
 
Stmtoperator-> ()
 
const Stmtoperator-> () const
 
Stmtoperator* ()
 
const Stmtoperator* () const
 
 operator bool () const
 

Detailed Description

CFGTerminator - Represents CFGBlock terminator statement.

TemporaryDtorsBranch bit is set to true if the terminator marks a branch in control flow of destructors of temporaries. In this case terminator statement is the same statement that branches control flow in evaluation of matching full expression.

Definition at line 303 of file CFG.h.

Constructor & Destructor Documentation

clang::CFGTerminator::CFGTerminator ( )
inline

Definition at line 306 of file CFG.h.

clang::CFGTerminator::CFGTerminator ( Stmt S,
bool  TemporaryDtorsBranch = false 
)
inline

Definition at line 307 of file CFG.h.

Member Function Documentation

Stmt* clang::CFGTerminator::getStmt ( )
inline
const Stmt* clang::CFGTerminator::getStmt ( ) const
inline

Definition at line 311 of file CFG.h.

bool clang::CFGTerminator::isTemporaryDtorsBranch ( ) const
inline

Definition at line 313 of file CFG.h.

Referenced by isDeadReturn(), and ResolveCondition().

clang::CFGTerminator::operator bool ( ) const
inlineexplicit

Definition at line 324 of file CFG.h.

References getStmt().

clang::CFGTerminator::operator const Stmt * ( ) const
inline

Definition at line 316 of file CFG.h.

References getStmt().

clang::CFGTerminator::operator Stmt * ( )
inline

Definition at line 315 of file CFG.h.

References getStmt().

Stmt& clang::CFGTerminator::operator* ( )
inline

Definition at line 321 of file CFG.h.

References getStmt().

const Stmt& clang::CFGTerminator::operator* ( ) const
inline

Definition at line 322 of file CFG.h.

References getStmt().

Stmt* clang::CFGTerminator::operator-> ( )
inline

Definition at line 318 of file CFG.h.

References getStmt().

const Stmt* clang::CFGTerminator::operator-> ( ) const
inline

Definition at line 319 of file CFG.h.

References getStmt().


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