|
clang 23.0.0git
|
Top-level origin of the expression which was found to be moved, e.g, when being used as an argument to an r-value reference parameter. More...
#include "clang/Analysis/Analyses/LifetimeSafety/Facts.h"
Public Member Functions | |
| MovedOriginFact (const Expr *MoveExpr, OriginID MovedOrigin) | |
| OriginID | getMovedOrigin () const |
| const Expr * | getMoveExpr () 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 } |
| Protected Member Functions inherited from clang::lifetimes::internal::Fact | |
| Fact (Kind K) | |
Top-level origin of the expression which was found to be moved, e.g, when being used as an argument to an r-value reference parameter.
|
inline |
Definition at line 261 of file Facts.h.
References clang::lifetimes::internal::Fact::Fact().
Definition at line 257 of file Facts.h.
References clang::lifetimes::internal::Fact::Fact(), clang::lifetimes::internal::Fact::getKind(), and clang::lifetimes::internal::Fact::MovedOrigin.
|
overridevirtual |
Reimplemented from clang::lifetimes::internal::Fact.
Definition at line 50 of file Facts.cpp.
References clang::lifetimes::internal::OriginManager::dump(), and getMovedOrigin().
|
inline |
|
inline |