clang: clang::CXXTemporary Class Reference (original) (raw)
Represents a C++ temporary. More...
#include "[clang/AST/ExprCXX.h](ExprCXX%5F8h%5Fsource.html)"
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) |
Detailed Description
Represents a C++ temporary.
Definition at line 1457 of file ExprCXX.h.
Member Function Documentation
◆ Create()
CXXTemporary * CXXTemporary::Create ( const ASTContext & C, const CXXDestructorDecl * Destructor ) | static |
---|
Definition at line 1092 of file ExprCXX.cpp.
References clang::C.
Referenced by clang::Sema::MaybeBindToTemporary(), clang::ASTReader::ReadCXXTemporary(), and clang::ASTNodeImporter::VisitCXXBindTemporaryExpr().
◆ getDestructor()
const CXXDestructorDecl * clang::CXXTemporary::getDestructor ( ) const | inline |
---|
Definition at line 1468 of file ExprCXX.h.
Referenced by clang::ASTRecordWriter::AddCXXTemporary(), clang::CFGImplicitDtor::getDestructorDecl(), and clang::JSONNodeDumper::VisitCXXBindTemporaryExpr().
◆ setDestructor()
void clang::CXXTemporary::setDestructor ( const CXXDestructorDecl * Dtor) | inline |
---|
Definition at line 1470 of file ExprCXX.h.
Referenced by clang::Sema::ActOnDecltypeExpression().
The documentation for this class was generated from the following files:
- include/clang/AST/ExprCXX.h
- lib/AST/ExprCXX.cpp