clang API Documentation

Public Member Functions
clang::CFGTerminator Class Reference

#include <CFG.h>

List of all members.

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

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

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

Definition at line 312 of file CFG.h.

Definition at line 314 of file CFG.h.

Referenced by isDeadReturn(), and ResolveCondition().

LLVM_EXPLICIT clang::CFGTerminator::operator bool ( ) const [inline]

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: