clang 22.0.0git
clang::lifetimes::internal::ExpiredLoansAnalysis Class Reference

The analysis that tracks which loans have expired. More...

Inheritance diagram for clang::lifetimes::internal::ExpiredLoansAnalysis:
[legend]

Public Member Functions

 ExpiredLoansAnalysis (const CFG &C, AnalysisDeclContext &AC, FactManager &F, LifetimeFactory &Factory)
StringRef getAnalysisName () const
Lattice getInitialState ()
Lattice join (Lattice L1, Lattice L2)
 Merges two lattices by taking the union of the two expired loans.
Lattice transfer (Lattice In, const ExpireFact &F)
Lattice transfer (Lattice In, const IssueFact &F)
ExpiredLoanMap getExpiredLoans (ProgramPoint P)
Public Member Functions inherited from clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >
void run ()
Lattice transfer (Lattice In, const IssueFact &)

Additional Inherited Members

Public Types inherited from clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >
using Lattice
using Base
Protected Member Functions inherited from clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >
 DataflowAnalysis (const CFG &C, AnalysisDeclContext &AC, FactManager &F)
Lattice getState (ProgramPoint P) const
Lattice getInState (const CFGBlock *B) const
Lattice getOutState (const CFGBlock *B) const
void dump () const
Protected Attributes inherited from clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >
FactManagerAllFacts

Detailed Description

The analysis that tracks which loans have expired.

Definition at line 1164 of file LifetimeSafety.cpp.

Constructor & Destructor Documentation

◆ ExpiredLoansAnalysis()

clang::lifetimes::internal::ExpiredLoansAnalysis::ExpiredLoansAnalysis ( const CFG & C,
AnalysisDeclContext & AC,
FactManager & F,
LifetimeFactory & Factory )
inline

Member Function Documentation

◆ getAnalysisName()

StringRef clang::lifetimes::internal::ExpiredLoansAnalysis::getAnalysisName ( ) const
inline

Definition at line 1177 of file LifetimeSafety.cpp.

◆ getExpiredLoans()

◆ getInitialState()

Lattice clang::lifetimes::internal::ExpiredLoansAnalysis::getInitialState ( )
inline

Definition at line 1179 of file LifetimeSafety.cpp.

◆ join()

Lattice clang::lifetimes::internal::ExpiredLoansAnalysis::join ( Lattice L1,
Lattice L2 )
inline

Merges two lattices by taking the union of the two expired loans.

Definition at line 1182 of file LifetimeSafety.cpp.

References clang::lifetimes::internal::ExpiredLattice::Expired, and clang::lifetimes::internal::utils::join().

◆ transfer() [1/2]

Lattice clang::lifetimes::internal::ExpiredLoansAnalysis::transfer ( Lattice In,
const ExpireFact & F )
inline

◆ transfer() [2/2]

Lattice clang::lifetimes::internal::ExpiredLoansAnalysis::transfer ( Lattice In,
const IssueFact & F )
inline

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