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) |
![]() | |
void | run () |
Lattice | transfer (Lattice In, const IssueFact &) |
Lattice | transfer (Lattice In, const ExpireFact &) |
Lattice | transfer (Lattice In, const AssignOriginFact &) |
Lattice | transfer (Lattice In, const ReturnOfOriginFact &) |
Lattice | transfer (Lattice In, const UseFact &) |
Lattice | transfer (Lattice In, const TestPointFact &) |
Additional Inherited Members | |
![]() | |
using | Lattice = ExpiredLattice |
using | Base = DataflowAnalysis< ExpiredLoansAnalysis, Lattice, Dir > |
![]() | |
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 |
![]() | |
FactManager & | AllFacts |
The analysis that tracks which loans have expired.
Definition at line 930 of file LifetimeSafety.cpp.
|
inline |
Definition at line 937 of file LifetimeSafety.cpp.
|
inline |
Definition at line 943 of file LifetimeSafety.cpp.
|
inline |
Definition at line 991 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::ExpiredLattice::Expired, clang::lifetimes::internal::DataflowAnalysis< ExpiredLoansAnalysis, ExpiredLattice, Direction::Forward >::getState(), and P.
Referenced by clang::lifetimes::internal::LifetimeChecker::checkUse().
|
inline |
Definition at line 945 of file LifetimeSafety.cpp.
Merges two lattices by taking the union of the two expired loans.
Definition at line 948 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::ExpiredLattice::Expired, and clang::lifetimes::internal::utils::join().
|
inline |
Definition at line 957 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::ExpireFact::getLoanID().
|
inline |
Definition at line 987 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::IssueFact::getLoanID().