clang 20.0.0git
|
Type-erased base class for dataflow analyses built on a single lattice type. More...
#include "clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h"
Public Member Functions | |
TypeErasedDataflowAnalysis () | |
TypeErasedDataflowAnalysis (DataflowAnalysisOptions Options) | |
virtual | ~TypeErasedDataflowAnalysis () |
virtual ASTContext & | getASTContext ()=0 |
Returns the ASTContext that is used by the analysis. | |
virtual TypeErasedLattice | typeErasedInitialElement ()=0 |
Returns a type-erased lattice element that models the initial state of a basic block. | |
virtual TypeErasedLattice | joinTypeErased (const TypeErasedLattice &, const TypeErasedLattice &)=0 |
Joins two type-erased lattice elements by computing their least upper bound. | |
virtual LatticeJoinEffect | widenTypeErased (TypeErasedLattice &Current, const TypeErasedLattice &Previous)=0 |
Chooses a lattice element that approximates the current element at a program point, given the previous element at that point. | |
virtual bool | isEqualTypeErased (const |