clang API Documentation
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>
Public Member Functions | |
CXXStdInitializerListExpr (QualType Ty, Expr *SubExpr) | |
Expr * | getSubExpr () |
const Expr * | getSubExpr () 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 |
Implicit construction of a std::initializer_list<T> object from an array temporary within list-initialization (C++11 [dcl.init.list]p5).
child_range clang::CXXStdInitializerListExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
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().
SourceLocation clang::CXXStdInitializerListExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 505 of file ExprCXX.h.
References clang::Stmt::getLocEnd().
SourceLocation clang::CXXStdInitializerListExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 502 of file ExprCXX.h.
References clang::Stmt::getLocStart().
SourceRange clang::CXXStdInitializerListExpr::getSourceRange | ( | ) | const [inline] |
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().
Expr* clang::CXXStdInitializerListExpr::getSubExpr | ( | ) | [inline] |
const Expr* clang::CXXStdInitializerListExpr::getSubExpr | ( | ) | const [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.