|
clang 22.0.0git
|
#include "clang/Analysis/Analyses/LifetimeSafety/Facts.h"
Public Member Functions | |
| UseFact (const Expr *UseExpr, OriginManager &OM) | |
| OriginID | getUsedOrigin () const |
| const Expr * | getUseExpr () const |
| void | markAsWritten () |
| bool | isWritten () 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 , ReturnOfOrigin , Use , TestPoint } |
| Protected Member Functions inherited from clang::lifetimes::internal::Fact | |
| Fact (Kind K) | |
|
inline |
Definition at line 163 of file Facts.h.
References clang::lifetimes::internal::Fact::Fact(), and clang::lifetimes::internal::Fact::Use.
Definition at line 161 of file Facts.h.
References clang::lifetimes::internal::Fact::Fact(), clang::lifetimes::internal::Fact::getKind(), and clang::lifetimes::internal::Fact::Use.
|
overridevirtual |
Reimplemented from clang::lifetimes::internal::Fact.
Definition at line 53 of file Facts.cpp.
References clang::lifetimes::internal::OriginManager::dump(), getUsedOrigin(), and isWritten().
|
inline |
Definition at line 166 of file Facts.h.
Referenced by clang::lifetimes::internal::computePersistentOrigins(), and dump().
|
inline |
|
inline |
|
inline |