|
clang 22.0.0git
|
PathLoan represents lending a storage location that is visible within the function's scope (e.g., a local variable on stack). More...
#include "clang/Analysis/Analyses/LifetimeSafety/Loans.h"
Public Member Functions | |
| PathLoan (LoanID ID, AccessPath Path, const Expr *IssueExpr) | |
| const AccessPath & | getAccessPath () const |
| const Expr * | getIssueExpr () const |
| void | dump (llvm::raw_ostream &OS) const override |
| Public Member Functions inherited from clang::lifetimes::internal::Loan | |
| Loan (Kind K, LoanID ID) | |
| virtual | ~Loan ()=default |
| Kind | getKind () const |
| LoanID | getID () const |
Static Public Member Functions | |
| static bool | classof (const Loan *L) |
Additional Inherited Members | |
| Public Types inherited from clang::lifetimes::internal::Loan | |
| enum class | Kind : uint8_t { Path , Placeholder } |
| TODO: Represent opaque loans. More... | |
PathLoan represents lending a storage location that is visible within the function's scope (e.g., a local variable on stack).
|
inline |
Definition at line 73 of file Loans.h.
References clang::lifetimes::internal::Loan::Loan().
Definition at line 81 of file Loans.h.
References clang::lifetimes::internal::Loan::getKind(), clang::lifetimes::internal::Loan::Loan(), and clang::lifetimes::internal::Loan::Path.
|
overridevirtual |
Implements clang::lifetimes::internal::Loan.
Definition at line 13 of file Loans.cpp.
References clang::lifetimes::internal::Loan::getID().
|
inline |
|
inline |