|
clang 24.0.0git
|
Where and how an origin is used, for diagnostics. More...
#include "clang/Analysis/Analyses/LifetimeSafety/Facts.h"
Public Member Functions | |
| UseKind | getKind () const |
| const Expr * | getExpr () const |
| Null for an implicit use or one known only by its location. | |
| const VarDecl * | getScopeExitVD () const |
| The variable destroyed or cleaned up, for implicit uses. | |
| SourceLocation | getLoc () const |
| SourceRange | getRange () const |
| Empty unless there is a use expression. | |
Static Public Member Functions | |
| static UseSite | fromExpr (const Expr &E) |
| static UseSite | at (SourceLocation Loc) |
| static UseSite | scopeExit (SourceLocation Loc, const VarDecl &VD, UseKind Kind) |
|
inlinestatic |
Definition at line 57 of file Facts.h.
References clang::lifetimes::Explicit.
Definition at line 54 of file Facts.h.
References clang::lifetimes::Explicit.
|
inline |
Null for an implicit use or one known only by its location.
Definition at line 69 of file Facts.h.
Referenced by getLoc(), and getRange().
|
inline |
Definition at line 67 of file Facts.h.
Referenced by clang::lifetimes::LifetimeSafetySemaHelperImpl::reportUseAfterScope().
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 60 of file Facts.h.
References clang::lifetimes::Cleanup, and clang::lifetimes::Destructor.