Represents CFGBlock terminator statement.
More...
#include "clang/Analysis/CFG.h"
Represents CFGBlock terminator statement.
Definition at line 531 of file CFG.h.
◆ Kind
Enumerator |
---|
StmtBranch | A branch that corresponds to a statement in the code, such as an if-statement.
|
TemporaryDtorsBranch | 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.
|
VirtualBaseBranch | A shortcut around virtual base initializers.
It gets taken when virtual base classes have already been initialized by the constructor of the most derived class while we're in the base class.
|
NumKindsMinusOne | Number of different kinds, for assertions.
We subtract 1 so that to keep receiving compiler warnings when we don't cover all enum values in a switch.
|
Definition at line 533 of file CFG.h.
◆ CFGTerminator() [1/2]
clang::CFGTerminator::CFGTerminator |
( |
| ) |
|
|
inline |
◆ CFGTerminator() [2/2]
◆ getKind()
Kind clang::CFGTerminator::getKind |
( |
| ) |
const |
|
inline |
◆ getStmt() [1/2]
Stmt * clang::CFGTerminator::getStmt |
( |
| ) |
|
|
inline |
◆ getStmt() [2/2]
const Stmt * clang::CFGTerminator::getStmt |
( |
| ) |
const |
|
inline |
◆ isStmtBranch()
bool clang::CFGTerminator::isStmtBranch |
( |
| ) |
const |
|
inline |
◆ isTemporaryDtorsBranch()
bool clang::CFGTerminator::isTemporaryDtorsBranch |
( |
| ) |
const |
|
inline |
◆ isValid()
bool clang::CFGTerminator::isValid |
( |
| ) |
const |
|
inline |
◆ isVirtualBaseBranch()
bool clang::CFGTerminator::isVirtualBaseBranch |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- include/clang/Analysis/CFG.h