|
clang 23.0.0git
|
Running the lifetime safety analysis and querying its results. More...
#include "clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h"
Public Member Functions | |
| LifetimeSafetyAnalysis (AnalysisDeclContext &AC, LifetimeSafetySemaHelper *SemaHelper, const LifetimeSafetyOpts &LSOpts) | |
| void | run () |
| LoanPropagationAnalysis & | getLoanPropagation () const |
| LiveOriginsAnalysis & | getLiveOrigins () const |
| FactManager & | getFactManager () |
Running the lifetime safety analysis and querying its results.
It encapsulates the various dataflow analyses.
Definition at line 138 of file LifetimeSafety.h.
| clang::lifetimes::internal::LifetimeSafetyAnalysis::LifetimeSafetyAnalysis | ( | AnalysisDeclContext & | AC, |
| LifetimeSafetySemaHelper * | SemaHelper, | ||
| const LifetimeSafetyOpts & | LSOpts ) |
Definition at line 51 of file LifetimeSafety.cpp.
|
inline |
Definition at line 151 of file LifetimeSafety.h.
Referenced by clang::lifetimes::runLifetimeSafetyAnalysis().
|
inline |
Definition at line 150 of file LifetimeSafety.h.
|
inline |
Definition at line 147 of file LifetimeSafety.h.
| void clang::lifetimes::internal::LifetimeSafetyAnalysis::run | ( | ) |
TODO(opt): Consider optimizing individual blocks before running the dataflow analysis.
Definition at line 56 of file LifetimeSafety.cpp.
References clang::lifetimes::internal::DebugOnlyFunction(), clang::CFG::dump(), clang::CFG::getNumBlockIDs(), clang::if(), clang::lifetimes::internal::FactsGenerator::run(), and clang::lifetimes::internal::runLifetimeChecker().
Referenced by clang::lifetimes::runLifetimeSafetyAnalysis().