class CXXStdInitializerListExpr

Declaration

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

Description

Implicit construction of a std::initializer_list <T > object from an array temporary within list-initialization (C++11 [dcl.init.list]p5).

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

Inherits from: Expr

Member Variables

private clang::Stmt* SubExpr = nullptr

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

CXXStdInitializerListExpr(
    clang::Stmt::EmptyShell Empty)

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

Parameters

clang::Stmt::EmptyShell Empty

CXXStdInitializerListExpr(clang::QualType Ty,
                          clang::Expr* SubExpr)

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

Parameters

clang::QualType Ty
clang::Expr* SubExpr

clang::Stmt::child_range children()

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

clang::Stmt::const_child_range children() const

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

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

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

Parameters

const clang::Stmt* S

clang::SourceLocation getBeginLoc() const

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

clang::SourceLocation getEndLoc() const

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

clang::SourceRange getSourceRange() const

Description

Retrieve the source range of the expression.

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

clang::Expr* getSubExpr()

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

const clang::Expr* getSubExpr() const

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