clang  6.0.0svn
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 351 of file CFG.h.

Constructor & Destructor Documentation

◆ CFGTerminator() [1/2]

clang::CFGTerminator::CFGTerminator ( )
inline

Definition at line 354 of file CFG.h.

◆ CFGTerminator() [2/2]

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

Definition at line 355 of file CFG.h.

Member Function Documentation

◆ getStmt() [1/2]

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

◆ getStmt() [2/2]

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

Definition at line 359 of file CFG.h.

◆ isTemporaryDtorsBranch()

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

Definition at line 361 of file CFG.h.

Referenced by ResolveCondition().

◆ operator bool()

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

Definition at line 372 of file CFG.h.

◆ operator const Stmt *()

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

Definition at line 364 of file CFG.h.

◆ operator Stmt *()

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

Definition at line 363 of file CFG.h.

◆ operator*() [1/2]

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

Definition at line 369 of file CFG.h.

◆ operator*() [2/2]

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

Definition at line 370 of file CFG.h.

◆ operator->() [1/2]

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

Definition at line 366 of file CFG.h.

◆ operator->() [2/2]

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

Definition at line 367 of file CFG.h.


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