clang API Documentation
#include <Expr.h>
Public Member Functions | |
ParenListExpr (const ASTContext &C, SourceLocation lparenloc, ArrayRef< Expr * > exprs, SourceLocation rparenloc) | |
ParenListExpr (EmptyShell Empty) | |
Build an empty paren list. | |
unsigned | getNumExprs () const |
const Expr * | getExpr (unsigned Init) const |
Expr * | getExpr (unsigned Init) |
Expr ** | getExprs () |
SourceLocation | getLParenLoc () const |
SourceLocation | getRParenLoc () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
class | ASTStmtWriter |
ParenListExpr::ParenListExpr | ( | const ASTContext & | C, |
SourceLocation | lparenloc, | ||
ArrayRef< Expr * > | exprs, | ||
SourceLocation | rparenloc | ||
) |
Definition at line 3945 of file Expr.cpp.
References AttributeLangSupport::C, clang::Expr::containsUnexpandedParameterPack(), clang::Stmt::ExprBits, clang::Expr::isInstantiationDependent(), clang::Expr::isTypeDependent(), and clang::Expr::isValueDependent().
clang::ParenListExpr::ParenListExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::ParenListExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::ParenListExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 4331 of file Expr.h.
References clang::Stmt::getStmtClass().
const Expr* clang::ParenListExpr::getExpr | ( | unsigned | Init | ) | const [inline] |
Definition at line 4313 of file Expr.h.
References getNumExprs().
Referenced by clang::Sema::AddInitializerToDecl(), clang::Sema::MaybeConvertParenListExprToParenExpr(), and clang::Sema::performLambdaInitCaptureInitialization().
Expr* clang::ParenListExpr::getExpr | ( | unsigned | Init | ) | [inline] |
Definition at line 4318 of file Expr.h.
References getNumExprs().
Expr** clang::ParenListExpr::getExprs | ( | ) | [inline] |
Definition at line 4323 of file Expr.h.
Referenced by clang::Sema::AddInitializerToDecl(), and clang::Sema::performLambdaInitCaptureInitialization().
SourceLocation clang::ParenListExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::ParenListExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 4328 of file Expr.h.
Referenced by clang::Sema::AddInitializerToDecl(), and clang::Sema::performLambdaInitCaptureInitialization().
SourceLocation clang::ParenListExpr::getLParenLoc | ( | ) | const [inline] |
Definition at line 4325 of file Expr.h.
Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().
unsigned clang::ParenListExpr::getNumExprs | ( | ) | const [inline] |
Definition at line 4311 of file Expr.h.
Referenced by clang::Sema::AddInitializerToDecl(), getExpr(), clang::Sema::MaybeConvertParenListExprToParenExpr(), and clang::Sema::performLambdaInitCaptureInitialization().
SourceLocation clang::ParenListExpr::getRParenLoc | ( | ) | const [inline] |
Definition at line 4326 of file Expr.h.
Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.
friend class ASTStmtWriter [friend] |
Reimplemented from clang::Stmt.