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

CFGTerminator - Represents CFGBlock terminator statement. More...

#include "clang/Analysis/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 327 of file CFG.h.

Constructor & Destructor Documentation

clang::CFGTerminator::CFGTerminator ( )
inline

Definition at line 330 of file CFG.h.

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

Definition at line 331 of file CFG.h.

Member Function Documentation

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

Definition at line 335 of file CFG.h.

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

Definition at line 337 of file CFG.h.

Referenced by isDeadReturn(), and ResolveCondition().

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

Definition at line 348 of file CFG.h.

References getStmt().

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

Definition at line 340 of file CFG.h.

References getStmt().

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

Definition at line 339 of file CFG.h.

References getStmt().

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

Definition at line 345 of file CFG.h.

References getStmt().

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

Definition at line 346 of file CFG.h.

References getStmt().

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

Definition at line 342 of file CFG.h.

References getStmt().

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

Definition at line 343 of file CFG.h.

References getStmt().


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