class ValueStmt
Declaration
class ValueStmt : public Stmt { /* full declaration omitted */ };
Description
Represents a statement that could possibly have a value and type. This covers expression-statements, as well as labels and attributed statements. Value statements have a special meaning when they are the last non-null statement in a GNU statement expression, where they determine the value of the statement expression.
Declared at: clang/include/clang/AST/Stmt.h:1812
Inherits from: Stmt
Member Variables
Inherited from Stmt:
Method Overview
- public static bool classof(const clang::Stmt * T)
- public const clang::Expr * getExprStmt() const
- public clang::Expr * getExprStmt()
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/Stmt.h:1823
Parameters
- const clang::Stmt* T
¶const clang::Expr* getExprStmt() const
const clang::Expr* getExprStmt() const
Declared at: clang/include/clang/AST/Stmt.h:1817
¶clang::Expr* getExprStmt()
clang::Expr* getExprStmt()
Declared at: clang/include/clang/AST/Stmt.h:1818