Find a DeclRefExpr
belonging to a DecompositionDecl
.
More...
Public Member Functions | |
TemporaryDeclFinder (CodeGenerator &_codeGenerator, const Stmt *stmt, bool inspectReturn=false) | |
~TemporaryDeclFinder () | |
bool | Found () const |
std::string | Name () const |
void | VisitCXXTemporaryObjectExpr (CXXTemporaryObjectExpr *expr) |
void | VisitMaterializeTemporaryExpr (MaterializeTemporaryExpr *stmt) |
void | VisitStmt (Stmt *stmt) |
void | Visit (Stmt *stmt) |
Find a DeclRefExpr
belonging to a DecompositionDecl
.
Definition at line 928 of file CodeGenerator.cpp.
|
inline |
Definition at line 938 of file CodeGenerator.cpp.
References clang::insights::asthelpers::Function(), GetGlobalAST(), GetInsightsOptions(), clang::insights::GetTemporaryName(), clang::insights::CodeGenerator::InsertArg(), RETURN_IF, clang::insights::asthelpers::Variable(), and clang::insights::asthelpers::VoidTy().
|
inline |
Definition at line 985 of file CodeGenerator.cpp.
References clang::insights::CodeGenerator::EndLifetimeScope().
|
inline |
Definition at line 992 of file CodeGenerator.cpp.
|
inline |
Definition at line 994 of file CodeGenerator.cpp.
|
inline |
Definition at line 1078 of file CodeGenerator.cpp.
|
inline |
Definition at line 996 of file CodeGenerator.cpp.
References GetGlobalAST(), GetInsightsOptions(), clang::insights::GetName(), clang::insights::asthelpers::mkDeclRefExpr(), clang::insights::asthelpers::ReplaceNode(), and clang::insights::asthelpers::Variable().
|
inline |
Definition at line 1044 of file CodeGenerator.cpp.
References clang::insights::GetTemporaryName(), clang::insights::CodeGenerator::LifetimeAddExtended(), clang::insights::asthelpers::mkDeclRefExpr(), clang::insights::asthelpers::ReplaceNode(), RETURN_IF, clang::insights::CodeGenerator::StartLifetimeScope(), and clang::insights::asthelpers::Variable().
|
inline |
Definition at line 1066 of file CodeGenerator.cpp.