clang API Documentation
#include <Expr.h>


Public Member Functions | |
| ParenListExpr (ASTContext &C, SourceLocation lparenloc, Expr **exprs, unsigned numexprs, 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 |
| SourceRange | getSourceRange () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const ParenListExpr *) |
Friends | |
| class | ASTStmtReader |
| class | ASTStmtWriter |
| ParenListExpr::ParenListExpr | ( | ASTContext & | C, |
| SourceLocation | lparenloc, | ||
| Expr ** | exprs, | ||
| unsigned | numexprs, | ||
| SourceLocation | rparenloc | ||
| ) |
Definition at line 3269 of file Expr.cpp.
References 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 4047 of file Expr.h.
References clang::Stmt::getStmtClass().
| static bool clang::ParenListExpr::classof | ( | const ParenListExpr * | ) | [inline, static] |
| const Expr* clang::ParenListExpr::getExpr | ( | unsigned | Init | ) | const [inline] |
Definition at line 4029 of file Expr.h.
References getNumExprs().
Referenced by clang::Sema::AddInitializerToDecl(), and clang::Sema::MaybeConvertParenListExprToParenExpr().
| Expr* clang::ParenListExpr::getExpr | ( | unsigned | Init | ) | [inline] |
Definition at line 4034 of file Expr.h.
References getNumExprs().
| Expr** clang::ParenListExpr::getExprs | ( | ) | [inline] |
Definition at line 4039 of file Expr.h.
Referenced by clang::Sema::AddInitializerToDecl().
| SourceLocation clang::ParenListExpr::getLParenLoc | ( | ) | const [inline] |
Definition at line 4041 of file Expr.h.
Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().
| unsigned clang::ParenListExpr::getNumExprs | ( | ) | const [inline] |
Definition at line 4027 of file Expr.h.
Referenced by clang::Sema::AddInitializerToDecl(), getExpr(), and clang::Sema::MaybeConvertParenListExprToParenExpr().
| SourceLocation clang::ParenListExpr::getRParenLoc | ( | ) | const [inline] |
Definition at line 4042 of file Expr.h.
Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().
| SourceRange clang::ParenListExpr::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.
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.
friend class ASTStmtWriter [friend] |
Reimplemented from clang::Stmt.