clang 22.0.0git
|
The analysis that tracks which loans have expired. More...
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 > | |
FactManager & | AllFacts |
The analysis that tracks which loans have expired.
Definition at line 1164 of file LifetimeSafety.cpp.
|
inline |
Definition at line 1171 of file LifetimeSafety.cpp.
References clang::C, and clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >::DataflowAnalysis().
|
inline |
Definition at line 1177 of file LifetimeSafety.cpp.
|
inline |
Definition at line 1225 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::ExpiredLattice::Expired, and clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >::getState().
|
inline |
Definition at line 1179 of file LifetimeSafety.cpp.
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().
|
inline |
Definition at line 1191 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::ExpireFact::getLoanID().
|
inline |
Definition at line 1221 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::IssueFact::getLoanID().