clang 22.0.0git
Public Member Functions | List of all members
clang::lifetimes::internal::LoanManager Class Reference

Manages the creation, storage and retrieval of loans. More...

Public Member Functions

 LoanManager ()=default
 
LoanaddLoan (AccessPath Path, const Expr *IssueExpr)
 
const LoangetLoan (LoanID ID) const
 
llvm::ArrayRef< LoangetLoans () const
 

Detailed Description

Manages the creation, storage and retrieval of loans.

Definition at line 82 of file LifetimeSafety.cpp.

Constructor & Destructor Documentation

◆ LoanManager()

clang::lifetimes::internal::LoanManager::LoanManager ( )
default

Member Function Documentation

◆ addLoan()

Loan & clang::lifetimes::internal::LoanManager::addLoan ( AccessPath  Path,
const Expr IssueExpr 
)
inline

Definition at line 86 of file LifetimeSafety.cpp.

References Path.

Referenced by clang::lifetimes::internal::FactGenerator::VisitUnaryOperator().

◆ getLoan()

const Loan & clang::lifetimes::internal::LoanManager::getLoan ( LoanID  ID) const
inline

◆ getLoans()

llvm::ArrayRef< Loan > clang::lifetimes::internal::LoanManager::getLoans ( ) const
inline

Definition at line 95 of file LifetimeSafety.cpp.


The documentation for this class was generated from the following file: