|
clang 22.0.0git
|
A list of origins representing levels of indirection for pointer-like types. More...
#include "clang/Analysis/Analyses/LifetimeSafety/Origins.h"
Public Member Functions | |
| OriginList (OriginID OID) | |
| OriginList * | peelOuterOrigin () const |
| OriginID | getOuterOriginID () const |
| void | setInnerOriginList (OriginList *Inner) |
| size_t | getLength () const |
A list of origins representing levels of indirection for pointer-like types.
Each node in the list contains an OriginID representing a level of indirection. The list structure captures the multi-level nature of pointer and reference types in the lifetime analysis.
Examples:
The list structure enables the analysis to track how loans flow through different levels of indirection when assignments and dereferences occur.
|
inline |
Definition at line 93 of file Origins.h.
Referenced by getLength(), peelOuterOrigin(), and setInnerOriginList().
|
inline |
Definition at line 102 of file Origins.h.
References OriginList(), and clang::T.
Referenced by clang::lifetimes::internal::UseFact::dump(), and clang::lifetimes::internal::FactsGenerator::VisitMaterializeTemporaryExpr().
|
inline |
Definition at line 96 of file Origins.h.
Referenced by clang::lifetimes::internal::FactsGenerator::VisitDeclRefExpr().
|
inline |
Definition at line 95 of file Origins.h.
References OriginList().
Referenced by clang::lifetimes::internal::computePersistentOrigins(), clang::lifetimes::internal::UseFact::dump(), clang::lifetimes::internal::getRValueOrigins(), and clang::lifetimes::internal::FactsGenerator::VisitReturnStmt().
|
inline |
Definition at line 98 of file Origins.h.
References OriginList().
Referenced by clang::lifetimes::internal::OriginManager::getOrCreateList().