#include "clang/Analysis/Analyses/LifetimeSafety/Facts.h"
Definition at line 348 of file Facts.h.
◆ FactManager()
◆ addBlockFacts()
◆ addCapturedField()
| void clang::lifetimes::internal::FactManager::addCapturedField |
( |
const FieldDecl * | FD | ) |
|
|
inline |
◆ appendBlockFact()
| void clang::lifetimes::internal::FactManager::appendBlockFact |
( |
const CFGBlock * | B, |
|
|
const Fact * | F ) |
|
inline |
◆ createFact()
template<typename FactType, typename... Args>
| FactType * clang::lifetimes::internal::FactManager::createFact |
( |
Args &&... | args | ) |
|
|
inline |
◆ dump()
◆ getBlockContaining()
Retrieves all the facts in the block containing Program Point P.
- Note
- This is intended for testing only.
Definition at line 230 of file Facts.cpp.
References getBlockID().
◆ getBlockID()
◆ getFacts()
◆ getLoanMgr() [1/2]
| LoanManager & clang::lifetimes::internal::FactManager::getLoanMgr |
( |
| ) |
|
|
inline |
◆ getLoanMgr() [2/2]
| const LoanManager & clang::lifetimes::internal::FactManager::getLoanMgr |
( |
| ) |
const |
|
inline |
◆ getNumFacts()
| unsigned clang::lifetimes::internal::FactManager::getNumFacts |
( |
| ) |
const |
|
inline |
◆ getOriginMgr() [1/2]
| OriginManager & clang::lifetimes::internal::FactManager::getOriginMgr |
( |
| ) |
|
|
inline |
◆ getOriginMgr() [2/2]
| const OriginManager & clang::lifetimes::internal::FactManager::getOriginMgr |
( |
| ) |
const |
|
inline |
◆ getPersistentOrigins()
| const llvm::BitVector & clang::lifetimes::internal::FactManager::getPersistentOrigins |
( |
| ) |
const |
|
inline |
Returns the origins that are referenced from more than one basic block.
Only those need to survive block boundaries in the dataflow analyses; the rest are block-local.
Definition at line 398 of file Facts.h.
◆ getTestPoints()
| llvm::StringMap< ProgramPoint > clang::lifetimes::internal::FactManager::getTestPoints |
( |
| ) |
const |
Retrieves program points that were specially marked in the source code for testing.
The analysis recognizes special function calls of the form void("__lifetime_test_point_<name>") as test points. This method returns a map from the annotation string (<name>) to the corresponding ProgramPoint. This allows test harnesses to query the analysis state at user-defined locations in the code.
- Note
- This is intended for testing only.
Definition at line 195 of file Facts.cpp.
◆ isFieldCapturedByLambda()
| bool clang::lifetimes::internal::FactManager::isFieldCapturedByLambda |
( |
const FieldDecl * | FD | ) |
const |
|
inline |
◆ setThisCapturedByLambda()
| void clang::lifetimes::internal::FactManager::setThisCapturedByLambda |
( |
| ) |
|
|
inline |
◆ FactsGenerator
The documentation for this class was generated from the following files:
- include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
- lib/Analysis/LifetimeSafety/Facts.cpp