clang API Documentation

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

#include <Expr.h>

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

List of all members.

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 ExprgetExpr (unsigned Init) const
ExprgetExpr (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

Detailed Description

Definition at line 4299 of file Expr.h.


Constructor & Destructor Documentation

ParenListExpr::ParenListExpr ( const ASTContext C,
SourceLocation  lparenloc,
ArrayRef< Expr * >  exprs,
SourceLocation  rparenloc 
)
clang::ParenListExpr::ParenListExpr ( EmptyShell  Empty) [inline, explicit]

Build an empty paren list.

Definition at line 4309 of file Expr.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 4336 of file Expr.h.

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 4318 of file Expr.h.

References getNumExprs().

Reimplemented from clang::Stmt.

Definition at line 4329 of file Expr.h.

Reimplemented from clang::Stmt.

Definition at line 4328 of file Expr.h.

Referenced by clang::Sema::AddInitializerToDecl(), and clang::Sema::performLambdaInitCaptureInitialization().

Definition at line 4325 of file Expr.h.

Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().

Definition at line 4326 of file Expr.h.

Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 4340 of file Expr.h.

friend class ASTStmtWriter [friend]

Reimplemented from clang::Stmt.

Definition at line 4341 of file Expr.h.


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