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 ()=default
 
 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 372 of file CFG.h.

Constructor & Destructor Documentation

◆ CFGTerminator() [1/2]

clang::CFGTerminator::CFGTerminator ( )
default

◆ CFGTerminator() [2/2]

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

Definition at line 377 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 381 of file CFG.h.

◆ isTemporaryDtorsBranch()

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

Definition at line 383 of file CFG.h.

Referenced by ResolveCondition().

◆ operator bool()

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

Definition at line 394 of file CFG.h.

◆ operator const Stmt *()

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

Definition at line 386 of file CFG.h.

◆ operator Stmt *()

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

Definition at line 385 of file CFG.h.

◆ operator*() [1/2]

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

Definition at line 391 of file CFG.h.

◆ operator*() [2/2]

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

Definition at line 392 of file CFG.h.

◆ operator->() [1/2]

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

Definition at line 388 of file CFG.h.

◆ operator->() [2/2]

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

Definition at line 389 of file CFG.h.


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