|
clang 23.0.0git
|
All loans are cleared from an origin (e.g., assigning a callable without tracked origins to std::function). More...
#include "clang/Analysis/Analyses/LifetimeSafety/Facts.h"
Public Member Functions | |
| KillOriginFact (OriginID OID) | |
| OriginID | getKilledOrigin () const |
| void | dump (llvm::raw_ostream &OS, const LoanManager &, const OriginManager &OM) const override |
| Public Member Functions inherited from clang::lifetimes::internal::Fact | |
| virtual | ~Fact ()=default |
| Kind | getKind () const |
| void | setID (FactID ID) |
| FactID | getID () const |
| template<typename T> | |
| const T * | getAs () const |
Static Public Member Functions | |
| static bool | classof (const Fact *F) |
Additional Inherited Members | |
| Public Types inherited from clang::lifetimes::internal::Fact | |
| enum class | Kind : uint8_t { Issue , Expire , OriginFlow , Use , MovedOrigin , TestPoint , OriginEscapes , InvalidateOrigin , KillOrigin } |
| Protected Member Functions inherited from clang::lifetimes::internal::Fact | |
| Fact (Kind K) | |
All loans are cleared from an origin (e.g., assigning a callable without tracked origins to std::function).
|
inline |
Definition at line 331 of file Facts.h.
References clang::lifetimes::internal::Fact::Fact(), and clang::lifetimes::internal::Fact::KillOrigin.
Definition at line 327 of file Facts.h.
References clang::lifetimes::internal::Fact::Fact(), clang::lifetimes::internal::Fact::getKind(), and clang::lifetimes::internal::Fact::KillOrigin.
|
overridevirtual |
Reimplemented from clang::lifetimes::internal::Fact.
Definition at line 106 of file Facts.cpp.
References clang::lifetimes::internal::OriginManager::dump(), and getKilledOrigin().
|
inline |
Definition at line 333 of file Facts.h.
Referenced by clang::lifetimes::internal::computePersistentOrigins(), and dump().