clang 22.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
template<typename LoanType, typename... Args>
LoanType * createLoan (Args &&...args)
const LoangetLoan (LoanID ID) const
llvm::ArrayRef< const Loan * > getLoans () const

Detailed Description

Manages the creation, storage and retrieval of loans.

Definition at line 115 of file Loans.h.

Constructor & Destructor Documentation

◆ LoanManager()

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

Member Function Documentation

◆ createLoan()

template<typename LoanType, typename... Args>
LoanType * clang::lifetimes::internal::LoanManager::createLoan ( Args &&... args)
inline

Definition at line 120 of file Loans.h.

Referenced by clang::lifetimes::internal::createLoan().

◆ getLoan()

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

◆ getLoans()

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

Definition at line 136 of file Loans.h.


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