|
clang 23.0.0git
|
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Sema/SemaLifetimeSafety.h"
Public Member Functions | |
| LifetimeSafetySemaHelperImpl (Sema &S) | |
| void | reportUseAfterScope (const Expr *IssueExpr, const Expr *UseExpr, const Expr *MovedExpr, SourceLocation FreeLoc, llvm::ArrayRef< const Expr * > ExprChain) override |
| void | reportUseAfterReturn (const Expr *IssueExpr, const Expr *ReturnExpr, const Expr *MovedExpr) override |
| void | reportDanglingField (const Expr *IssueExpr, const FieldDecl *DanglingField, const Expr *MovedExpr, SourceLocation ExpiryLoc) override |
| void | reportDanglingGlobal (const Expr *IssueExpr, const VarDecl *DanglingGlobal, const Expr *MovedExpr, SourceLocation ExpiryLoc) override |
| void | reportUseAfterInvalidation (const Expr *IssueExpr, const Expr *UseExpr, const Expr *InvalidationExpr) override |
| void | reportUseAfterInvalidation (const ParmVarDecl *PVD, const Expr *UseExpr, const Expr *InvalidationExpr) override |
| void | reportInvalidatedField (const Expr *IssueExpr, const FieldDecl *DanglingField, const Expr *InvalidationExpr) override |
| void | reportInvalidatedField (const ParmVarDecl *PVD, const FieldDecl *DanglingField, const Expr *InvalidationExpr) override |
| void | reportInvalidatedGlobal (const Expr *IssueExpr, const VarDecl *DanglingGlobal, const Expr *InvalidationExpr) override |
| void | reportInvalidatedGlobal (const ParmVarDecl *PVD, const VarDecl *DanglingGlobal, const Expr *InvalidationExpr) override |
| void | suggestLifetimeboundToParmVar (WarningScope Scope, const ParmVarDecl *ParmToAnnotate, EscapingTarget Target) override |
| void | reportLifetimeboundViolation (const ParmVarDecl *ParmWithLifetimebound) override |
| void | reportLifetimeboundViolation (const CXXMethodDecl *MDWithLifetimebound) override |
| void | reportMisplacedLifetimebound (WarningScope Scope, const CXXMethodDecl *FDef, const CXXMethodDecl *FDecl) override |
| void | reportMisplacedLifetimebound (WarningScope Scope, const ParmVarDecl *PVDDef, const ParmVarDecl *PVDDecl) override |
| void | reportInapplicableLifetimebound (const ParmVarDecl *PVD) override |
| void | suggestLifetimeboundToImplicitThis (WarningScope Scope, const CXXMethodDecl *MD, const Expr *EscapeExpr) override |
| void | reportNoescapeViolation (const ParmVarDecl *ParmWithNoescape, const Expr *EscapeExpr) override |
| void | reportNoescapeViolation (const ParmVarDecl *ParmWithNoescape, const FieldDecl *EscapeField) override |
| void | reportNoescapeViolation (const ParmVarDecl *ParmWithNoescape, const VarDecl *EscapeGlobal) override |
| void | addLifetimeBoundToImplicitThis (const CXXMethodDecl *MD) override |
| Public Member Functions inherited from clang::lifetimes::LifetimeSafetySemaHelper | |
| LifetimeSafetySemaHelper ()=default | |
| virtual | ~LifetimeSafetySemaHelper ()=default |
Additional Inherited Members | |
| Public Types inherited from clang::lifetimes::LifetimeSafetySemaHelper | |
| using | EscapingTarget |
Definition at line 103 of file SemaLifetimeSafety.h.
|
inline |
Definition at line 106 of file SemaLifetimeSafety.h.
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 451 of file SemaLifetimeSafety.h.
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 146 of file SemaLifetimeSafety.h.
References clang::Decl::getEndLoc(), clang::Expr::getExprLoc(), clang::Decl::getLocation(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 166 of file SemaLifetimeSafety.h.
References clang::Decl::getEndLoc(), clang::Expr::getExprLoc(), clang::Decl::getLocation(), clang::Stmt::getSourceRange(), clang::VarDecl::isStaticDataMember(), and clang::VarDecl::isStaticLocal().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 387 of file SemaLifetimeSafety.h.
References clang::Decl::getAttr(), clang::Attr::getLocation(), clang::AttributeCommonInfo::getRange(), clang::ValueDecl::getType(), and clang::Decl::hasAttr().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 218 of file SemaLifetimeSafety.h.
References clang::Decl::getEndLoc(), clang::Expr::getExprLoc(), clang::Decl::getLocation(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 232 of file SemaLifetimeSafety.h.
References clang::SourceRange::getBegin(), clang::Decl::getEndLoc(), clang::Decl::getLocation(), and clang::ParmVarDecl::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 246 of file SemaLifetimeSafety.h.
References clang::Decl::getEndLoc(), clang::Expr::getExprLoc(), clang::Decl::getLocation(), clang::Stmt::getSourceRange(), clang::VarDecl::isStaticDataMember(), and clang::VarDecl::isStaticLocal().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 265 of file SemaLifetimeSafety.h.
References clang::SourceRange::getBegin(), clang::Decl::getEndLoc(), clang::Decl::getLocation(), clang::ParmVarDecl::getSourceRange(), clang::VarDecl::isStaticDataMember(), and clang::VarDecl::isStaticLocal().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 323 of file SemaLifetimeSafety.h.
References clang::lifetimes::getImplicitObjectParamLifetimeBoundAttr(), clang::Attr::getLocation(), and clang::AttributeCommonInfo::getRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 313 of file SemaLifetimeSafety.h.
References clang::Decl::getAttr(), clang::Attr::getLocation(), clang::NamedDecl::getName(), and clang::AttributeCommonInfo::getRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 333 of file SemaLifetimeSafety.h.
References clang::FixItHint::CreateInsertion(), clang::lifetimes::CrossTU, clang::DeclaratorDecl::getBeginLoc(), clang::lifetimes::getDirectImplicitObjectLifetimeBoundAttr(), clang::Attr::getLocation(), clang::Decl::getLocation(), clang::AttributeCommonInfo::getRange(), and clang::SourceLocation::isMacroID().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 359 of file SemaLifetimeSafety.h.
References clang::FixItHint::CreateInsertion(), clang::lifetimes::CrossTU, clang::Decl::getAttr(), clang::DeclaratorDecl::getBeginLoc(), clang::Attr::getLocation(), clang::AttributeCommonInfo::getRange(), clang::ParmVarDecl::getSourceRange(), and clang::SourceLocation::isMacroID().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 414 of file SemaLifetimeSafety.h.
References clang::DeclaratorDecl::getBeginLoc(), clang::Stmt::getBeginLoc(), clang::ParmVarDecl::getSourceRange(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 425 of file SemaLifetimeSafety.h.
References clang::DeclaratorDecl::getBeginLoc(), clang::Decl::getEndLoc(), clang::Decl::getLocation(), and clang::ParmVarDecl::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 436 of file SemaLifetimeSafety.h.
References clang::DeclaratorDecl::getBeginLoc(), clang::Decl::getEndLoc(), clang::Decl::getLocation(), clang::ParmVarDecl::getSourceRange(), clang::VarDecl::isStaticDataMember(), and clang::VarDecl::isStaticLocal().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 191 of file SemaLifetimeSafety.h.
References clang::Expr::getExprLoc(), clang::Stmt::getSourceRange(), and clang::isa().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 203 of file SemaLifetimeSafety.h.
References clang::SourceRange::getBegin(), clang::Expr::getExprLoc(), clang::ParmVarDecl::getSourceRange(), clang::Stmt::getSourceRange(), and clang::isa().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 130 of file SemaLifetimeSafety.h.
References clang::Expr::getExprLoc(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 108 of file SemaLifetimeSafety.h.
References clang::Expr::getExprLoc(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 396 of file SemaLifetimeSafety.h.
References clang::FixItHint::CreateInsertion(), clang::lifetimes::CrossTU, clang::Stmt::getBeginLoc(), clang::FunctionDecl::getNameInfo(), clang::DeclarationNameInfo::getSourceRange(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 284 of file SemaLifetimeSafety.h.
References clang::FixItHint::CreateInsertion(), clang::lifetimes::CrossTU, clang::DeclaratorDecl::getBeginLoc(), clang::Decl::getDeclContext(), clang::ParmVarDecl::getSourceRange(), clang::isa(), and clang::Target.