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 911 of file CodeGenerator.cpp.
|
inline |
Definition at line 921 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 968 of file CodeGenerator.cpp.
References clang::insights::CodeGenerator::EndLifetimeScope().
|
inline |
Definition at line 975 of file CodeGenerator.cpp.
|
inline |
Definition at line 977 of file CodeGenerator.cpp.
|
inline |
Definition at line 1061 of file CodeGenerator.cpp.
Referenced by TemporaryDeclFinder(), and VisitStmt().
|
inline |
Definition at line 979 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 1027 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 1049 of file CodeGenerator.cpp.
References Visit().