clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::CXXStdInitializerListExpr Class Reference

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

#include <ExprCXX.h>

Inheritance diagram for clang::CXXStdInitializerListExpr:
Inheritance graph
[legend]
Collaboration diagram for clang::CXXStdInitializerListExpr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CXXStdInitializerListExpr (QualType Ty, Expr *SubExpr)
ExprgetSubExpr ()
const ExprgetSubExpr () const
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
SourceRange getSourceRange () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *S)

Friends

class ASTReader
class ASTStmtReader

Detailed Description

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

Definition at line 485 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::CXXStdInitializerListExpr::CXXStdInitializerListExpr ( QualType  Ty,
Expr SubExpr 
) [inline]

Definition at line 492 of file ExprCXX.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 516 of file ExprCXX.h.

static bool clang::CXXStdInitializerListExpr::classof ( const Stmt S) [inline, static]

Reimplemented from clang::Expr.

Definition at line 512 of file ExprCXX.h.

References clang::Stmt::getStmtClass().

Reimplemented from clang::Stmt.

Definition at line 505 of file ExprCXX.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 502 of file ExprCXX.h.

References clang::Stmt::getLocStart().

SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.

Reimplemented from clang::Stmt.

Definition at line 508 of file ExprCXX.h.

References clang::Stmt::getSourceRange().

Definition at line 499 of file ExprCXX.h.

Definition at line 500 of file ExprCXX.h.


Friends And Related Function Documentation

friend class ASTReader [friend]

Definition at line 518 of file ExprCXX.h.

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 519 of file ExprCXX.h.


The documentation for this class was generated from the following file: