clang 24.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
Loan * createLoan (AccessPath Path, const Expr *IssueExpr=nullptr)
Loan * createPlaceholderLoan (const ParmVarDecl *PVD)
Loan * createPlaceholderLoan (const CXXMethodDecl *MD)
Loan * createPlaceholderLoan (const FieldDecl *FD)
const Loan * getLoan (LoanID ID) const
llvm::ArrayRef< const Loan * > getLoans () const

Detailed Description

Manages the creation, storage and retrieval of loans.

Definition at line 224 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 = nullptr )
inline

◆ createPlaceholderLoan() [1/3]

Loan * clang::lifetimes::internal::LoanManager::createPlaceholderLoan ( const CXXMethodDecl * MD)
inline

Definition at line 239 of file Loans.h.

References createLoan().

◆ createPlaceholderLoan() [2/3]

Loan * clang::lifetimes::internal::LoanManager::createPlaceholderLoan ( const FieldDecl * FD)
inline

Definition at line 242 of file Loans.h.

References createLoan().

◆ createPlaceholderLoan() [3/3]

Loan * clang::lifetimes::internal::LoanManager::createPlaceholderLoan ( const ParmVarDecl * PVD)
inline

Definition at line 236 of file Loans.h.

References 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 251 of file Loans.h.


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