|
clang 22.0.0git
|
Information about a single borrow, or "Loan". More...
#include "clang/Analysis/Analyses/LifetimeSafety/Loans.h"
Public Member Functions | |
| Loan (LoanID id, AccessPath path, const Expr *IssueExpr) | |
| void | dump (llvm::raw_ostream &OS) const |
Public Attributes | |
| LoanID | ID |
| TODO: Represent opaque loans. | |
| AccessPath | Path |
| const Expr * | IssueExpr |
| The expression that creates the loan, e.g., &x. | |
Information about a single borrow, or "Loan".
A loan is created when a reference or pointer is created.
|
inline |
| void clang::lifetimes::internal::Loan::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 13 of file Loans.cpp.
Referenced by clang::lifetimes::internal::ExpireFact::dump(), and clang::lifetimes::internal::IssueFact::dump().
| LoanID clang::lifetimes::internal::Loan::ID |
| const Expr* clang::lifetimes::internal::Loan::IssueExpr |
| AccessPath clang::lifetimes::internal::Loan::Path |