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

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

Constructor & Destructor Documentation

clang::CFGTerminator::CFGTerminator ( )
inline

Definition at line 307 of file CFG.h.

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

Definition at line 308 of file CFG.h.

Member Function Documentation

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

Definition at line 312 of file CFG.h.

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

Definition at line 314 of file CFG.h.

Referenced by isDeadReturn(), and ResolveCondition().

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

Definition at line 325 of file CFG.h.

References getStmt().

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

Definition at line 317 of file CFG.h.

References getStmt().

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

Definition at line 316 of file CFG.h.

References getStmt().

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

Definition at line 322 of file CFG.h.

References getStmt().

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

Definition at line 323 of file CFG.h.

References getStmt().

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

Definition at line 319 of file CFG.h.

References getStmt().

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

Definition at line 320 of file CFG.h.

References getStmt().


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