clang 23.0.0git
clang::lifetimes::internal::LoanManager Class Reference

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

#include "clang/Analysis/Analyses/LifetimeSafety/Loans.h"

Public Member Functions

 LoanManager ()=default
LoancreateLoan (AccessPath Path, const Expr *IssueExpr)
const LoangetLoan (LoanID ID) const
llvm::ArrayRef< const Loan * > getLoans () const

Detailed Description

Manages the creation, storage and retrieval of loans.

Definition at line 129 of file Loans.h.

Constructor & Destructor Documentation

◆ LoanManager()

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

Member Function Documentation

◆ createLoan()

Loan * clang::lifetimes::internal::LoanManager::createLoan ( AccessPath Path,
const Expr * IssueExpr )
inline

◆ getLoan()

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

Definition at line 140 of file Loans.h.

Referenced by clang::lifetimes::internal::IssueFact::dump().

◆ getLoans()

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

Definition at line 145 of file Loans.h.


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