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:

protected

Method Overview

Inherited from Stmt:

Methods

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

Declared at: clang/include/clang/AST/Stmt.h:1817

clang::Expr* getExprStmt()

Declared at: clang/include/clang/AST/Stmt.h:1818