clang API Documentation
#include <Expr.h>


Public Member Functions | |
| ParenExpr (SourceLocation l, SourceLocation r, Expr *val) | |
| ParenExpr (EmptyShell Empty) | |
| Construct an empty parenthesized expression. | |
| const Expr * | getSubExpr () const |
| Expr * | getSubExpr () |
| void | setSubExpr (Expr *E) |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
| SourceLocation | getLParen () const |
| Get the location of the left parentheses '('. | |
| void | setLParen (SourceLocation Loc) |
| SourceLocation | getRParen () const |
| Get the location of the right parentheses ')'. | |
| void | setRParen (SourceLocation Loc) |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
ParenExpr - This represents a parethesized expression, e.g. "(1)". This AST node is only formed if full location information is requested.
| clang::ParenExpr::ParenExpr | ( | SourceLocation | l, |
| SourceLocation | r, | ||
| Expr * | val | ||
| ) | [inline] |
| clang::ParenExpr::ParenExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
| child_range clang::ParenExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| static bool clang::ParenExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 1644 of file Expr.h.
References clang::Stmt::getStmtClass().
| SourceLocation clang::ParenExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
| SourceLocation clang::ParenExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 1633 of file Expr.h.
Referenced by clang::Sema::DiagnoseEqualityWithExtraParens().
| SourceLocation clang::ParenExpr::getLParen | ( | ) | const [inline] |
Get the location of the left parentheses '('.
Definition at line 1637 of file Expr.h.
Referenced by clang::TreeTransform< Derived >::TransformParenDependentScopeDeclRefExpr(), and clang::ASTNodeImporter::VisitParenExpr().
| SourceLocation clang::ParenExpr::getRParen | ( | ) | const [inline] |
Get the location of the right parentheses ')'.
Definition at line 1641 of file Expr.h.
Referenced by clang::TreeTransform< Derived >::TransformParenDependentScopeDeclRefExpr(), and clang::ASTNodeImporter::VisitParenExpr().
| const Expr* clang::ParenExpr::getSubExpr | ( | ) | const [inline] |
Definition at line 1629 of file Expr.h.
Referenced by clang::Sema::ActOnCastExpr(), and clang::ASTNodeImporter::VisitParenExpr().
| Expr* clang::ParenExpr::getSubExpr | ( | ) | [inline] |
| void clang::ParenExpr::setLParen | ( | SourceLocation | Loc | ) | [inline] |
| void clang::ParenExpr::setRParen | ( | SourceLocation | Loc | ) | [inline] |
| void clang::ParenExpr::setSubExpr | ( | Expr * | E | ) | [inline] |