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 903 of file CodeGenerator.cpp.
|
inline |
Definition at line 913 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 960 of file CodeGenerator.cpp.
References clang::insights::CodeGenerator::EndLifetimeScope().
|
inline |
Definition at line 967 of file CodeGenerator.cpp.
|
inline |
Definition at line 969 of file CodeGenerator.cpp.
|
inline |
Definition at line 1053 of file CodeGenerator.cpp.
Referenced by TemporaryDeclFinder(), and VisitStmt().
|
inline |
Definition at line 971 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 1019 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 1041 of file CodeGenerator.cpp.
References Visit().