class CXXScalarValueInitExpr

Declaration

class CXXScalarValueInitExpr : public Expr { /* full declaration omitted */ };

Description

An expression "T()" which creates a value-initialized rvalue of type T, which is a non-class type. See (C++98 [5.2.3p2]).

Declared at: clang/include/clang/AST/ExprCXX.h:2093

Inherits from: Expr

Member Variables

private clang::TypeSourceInfo* TypeInfo

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

CXXScalarValueInitExpr(
    clang::QualType Type,
    clang::TypeSourceInfo* TypeInfo,
    clang::SourceLocation RParenLoc)

Description

Create an explicitly-written scalar-value initialization expression.

Declared at: clang/include/clang/AST/ExprCXX.h:2101

Parameters

clang::QualType Type
clang::TypeSourceInfo* TypeInfo
clang::SourceLocation RParenLoc

CXXScalarValueInitExpr(
    clang::Stmt::EmptyShell Shell)

Declared at: clang/include/clang/AST/ExprCXX.h:2109

Parameters

clang::Stmt::EmptyShell Shell

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprCXX.h:2128

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprCXX.h:2132

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprCXX.h:2123

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:2120

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:2121

clang::SourceLocation getRParenLoc() const

Declared at: clang/include/clang/AST/ExprCXX.h:2116

clang::TypeSourceInfo* getTypeSourceInfo() const

Declared at: clang/include/clang/AST/ExprCXX.h:2112