clang API Documentation
#include <ExprCXX.h>


Public Member Functions | |
| CXXExprWithTemporaries (EmptyShell Empty) | |
| unsigned | getNumTemporaries () const |
| void | setNumTemporaries (ASTContext &C, unsigned N) |
| CXXTemporary * | getTemporary (unsigned i) |
| const CXXTemporary * | getTemporary (unsigned i) const |
| void | setTemporary (unsigned i, CXXTemporary *T) |
| Expr * | getSubExpr () |
| const Expr * | getSubExpr () const |
| void | setSubExpr (Expr *E) |
| virtual SourceRange | getSourceRange () const |
| virtual child_iterator | child_begin () |
| virtual child_iterator | child_end () |
Static Public Member Functions | |
| static CXXExprWithTemporaries * | Create (ASTContext &C, Expr *SubExpr, CXXTemporary **Temps, unsigned NumTemps) |
| static bool | classof (const Stmt *T) |
| static bool | classof (const CXXExprWithTemporaries *) |
Definition at line 1882 of file ExprCXX.h.
| clang::CXXExprWithTemporaries::CXXExprWithTemporaries | ( | EmptyShell | Empty | ) | [inline] |
| Stmt::child_iterator CXXExprWithTemporaries::child_begin | ( | ) | [virtual] |
Implements clang::Stmt.
Definition at line 665 of file ExprCXX.cpp.
| Stmt::child_iterator CXXExprWithTemporaries::child_end | ( | ) | [virtual] |
Implements clang::Stmt.
Definition at line 669 of file ExprCXX.cpp.
| static bool clang::CXXExprWithTemporaries::classof | ( | const CXXExprWithTemporaries * | ) | [inline, static] |
| static bool clang::CXXExprWithTemporaries::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 1924 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
| CXXExprWithTemporaries * CXXExprWithTemporaries::Create | ( | ASTContext & | C, | |
| Expr * | SubExpr, | |||
| CXXTemporary ** | Temps, | |||
| unsigned | NumTemps | |||
| ) | [static] |
Definition at line 640 of file ExprCXX.cpp.
Referenced by clang::Sema::MaybeCreateCXXExprWithTemporaries().
| unsigned clang::CXXExprWithTemporaries::getNumTemporaries | ( | ) | const [inline] |
Definition at line 1900 of file ExprCXX.h.
Referenced by clang::ASTStmtWriter::VisitCXXExprWithTemporaries().
| virtual SourceRange clang::CXXExprWithTemporaries::getSourceRange | ( | ) | const [inline, virtual] |
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.
Implements clang::Expr.
Definition at line 1919 of file ExprCXX.h.
References clang::Expr::getSourceRange().
| const Expr* clang::CXXExprWithTemporaries::getSubExpr | ( | ) | const [inline] |
| Expr* clang::CXXExprWithTemporaries::getSubExpr | ( | ) | [inline] |
| const CXXTemporary* clang::CXXExprWithTemporaries::getTemporary | ( | unsigned | i | ) | const [inline] |
Definition at line 1907 of file ExprCXX.h.
References getTemporary().
| CXXTemporary* clang::CXXExprWithTemporaries::getTemporary | ( | unsigned | i | ) | [inline] |
Definition at line 1903 of file ExprCXX.h.
Referenced by clang::ParmVarDecl::getDefaultArgTemporary(), getTemporary(), and clang::ASTStmtWriter::VisitCXXExprWithTemporaries().
| void CXXExprWithTemporaries::setNumTemporaries | ( | ASTContext & | C, | |
| unsigned | N | |||
| ) |
Definition at line 633 of file ExprCXX.cpp.
Referenced by clang::ASTStmtReader::VisitCXXExprWithTemporaries().
| void clang::CXXExprWithTemporaries::setSubExpr | ( | Expr * | E | ) | [inline] |
Definition at line 1917 of file ExprCXX.h.
Referenced by clang::ASTStmtReader::VisitCXXExprWithTemporaries().
| void clang::CXXExprWithTemporaries::setTemporary | ( | unsigned | i, | |
| CXXTemporary * | T | |||
| ) | [inline] |
Definition at line 1910 of file ExprCXX.h.
Referenced by clang::ASTStmtReader::VisitCXXExprWithTemporaries().