|
clang 24.0.0git
|
Represents a component of an access path: either a named field access or an abstract unnamed interior region (denoted by '*'). More...
#include "clang/Analysis/Analyses/LifetimeSafety/Loans.h"
Public Member Functions | |
| Loan (LoanID ID, AccessPath Path, const Expr *IssueExpr=nullptr) | |
| LoanID | getID () const |
| const AccessPath & | getAccessPath () const |
| const Expr * | getIssueExpr () const |
| void | dump (llvm::raw_ostream &OS) const |
Represents a component of an access path: either a named field access or an abstract unnamed interior region (denoted by '*').
The interior access (*) represents the borrowable content of an object without exposing its internal implementation details. It may abstract over multiple underlying fields or memory regions.
Examples:
|
inline |
| void clang::lifetimes::internal::Loan::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 32 of file Loans.cpp.
References getID().
Referenced by clang::lifetimes::internal::IssueFact::dump().
|
inline |
Definition at line 203 of file Loans.h.
Referenced by clang::lifetimes::internal::OriginFlowFact::dump().
|
inline |
Definition at line 202 of file Loans.h.
Referenced by dump(), clang::lifetimes::internal::FactsGenerator::VisitCXXNewExpr(), clang::lifetimes::internal::FactsGenerator::VisitDeclRefExpr(), and clang::lifetimes::internal::FactsGenerator::VisitMaterializeTemporaryExpr().
|
inline |