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 932 of file CodeGenerator.cpp.
|
inline |
Definition at line 942 of file CodeGenerator.cpp.
References clang::insights::asthelpers::Function(), GetGlobalAST(), GetInsightsOptions(), clang::insights::GetTemporaryName(), clang::insights::CodeGenerator::InsertArg(), RETURN_IF, clang::insights::asthelpers::Variable(), Visit(), and clang::insights::asthelpers::VoidTy().
|
inline |
Definition at line 989 of file CodeGenerator.cpp.
References clang::insights::CodeGenerator::EndLifetimeScope().
|
inline |
Definition at line 996 of file CodeGenerator.cpp.
|
inline |
Definition at line 998 of file CodeGenerator.cpp.
|
inline |
Definition at line 1082 of file CodeGenerator.cpp.
Referenced by TemporaryDeclFinder(), and VisitStmt().
|
inline |
Definition at line 1000 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 1048 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 1070 of file CodeGenerator.cpp.
References Visit().