clang API Documentation

clang::CXXExprWithTemporaries Class Reference

#include <ExprCXX.h>

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

List of all members.

Public Member Functions

 CXXExprWithTemporaries (EmptyShell Empty)
unsigned getNumTemporaries () const
void setNumTemporaries (ASTContext &C, unsigned N)
CXXTemporarygetTemporary (unsigned i)
const CXXTemporarygetTemporary (unsigned i) const
void setTemporary (unsigned i, CXXTemporary *T)
ExprgetSubExpr ()
const ExprgetSubExpr () const
void setSubExpr (Expr *E)
virtual SourceRange getSourceRange () const
virtual child_iterator child_begin ()
virtual child_iterator child_end ()

Static Public Member Functions

static CXXExprWithTemporariesCreate (ASTContext &C, Expr *SubExpr, CXXTemporary **Temps, unsigned NumTemps)
static bool classof (const Stmt *T)
static bool classof (const CXXExprWithTemporaries *)

Detailed Description

Definition at line 1882 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::CXXExprWithTemporaries::CXXExprWithTemporaries ( EmptyShell  Empty  )  [inline]

Definition at line 1892 of file ExprCXX.h.


Member Function Documentation

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]

Definition at line 1927 of file ExprCXX.h.

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]

Definition at line 1916 of file ExprCXX.h.

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]
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().


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