clang API Documentation
Represents a C++ temporary. More...
#include <ExprCXX.h>
Public Member Functions | |
const CXXDestructorDecl * | getDestructor () const |
void | setDestructor (const CXXDestructorDecl *Dtor) |
Static Public Member Functions | |
static CXXTemporary * | Create (const ASTContext &C, const CXXDestructorDecl *Destructor) |
CXXTemporary * CXXTemporary::Create | ( | const ASTContext & | C, |
const CXXDestructorDecl * | Destructor | ||
) | [static] |
Definition at line 787 of file ExprCXX.cpp.
References AttributeLangSupport::C.
Referenced by clang::Sema::MaybeBindToTemporary(), and clang::ASTReader::ReadCXXTemporary().
const CXXDestructorDecl* clang::CXXTemporary::getDestructor | ( | ) | const [inline] |
Definition at line 1005 of file ExprCXX.h.
Referenced by clang::ASTWriter::AddCXXTemporary(), and clang::CFGImplicitDtor::getDestructorDecl().
void clang::CXXTemporary::setDestructor | ( | const CXXDestructorDecl * | Dtor | ) | [inline] |
Definition at line 1006 of file ExprCXX.h.
Referenced by clang::Sema::ActOnDecltypeExpression().