|
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 | reportUseAfterFree (const Expr *IssueExpr, const Expr *UseExpr, const Expr *MovedExpr, SourceLocation FreeLoc) override |
| void | reportUseAfterReturn (const Expr *IssueExpr, const Expr *ReturnExpr, const Expr *MovedExpr, SourceLocation ExpiryLoc) 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 | suggestLifetimeboundToParmVar (SuggestionScope Scope, const ParmVarDecl *ParmToAnnotate, const Expr *EscapeExpr) override |
| void | suggestLifetimeboundToImplicitThis (SuggestionScope 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 |
Definition at line 41 of file SemaLifetimeSafety.h.
|
inline |
Definition at line 44 of file SemaLifetimeSafety.h.
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 228 of file SemaLifetimeSafety.h.
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 75 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 91 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 191 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 202 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 213 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 46 of file SemaLifetimeSafety.h.
References clang::Expr::getExprLoc(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 112 of file SemaLifetimeSafety.h.
References clang::Expr::getExprLoc(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 122 of file SemaLifetimeSafety.h.
References clang::SourceRange::getBegin(), clang::Expr::getExprLoc(), clang::ParmVarDecl::getSourceRange(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 61 of file SemaLifetimeSafety.h.
References clang::Expr::getExprLoc(), and clang::Stmt::getSourceRange().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 158 of file SemaLifetimeSafety.h.
References clang::FixItHint::CreateInsertion(), clang::lifetimes::CrossTU, clang::Lexer::findPreviousToken(), clang::Type::getAs(), clang::Stmt::getBeginLoc(), clang::Lexer::getLocForEndOfToken(), clang::FunctionDecl::getNameInfo(), clang::DeclarationNameInfo::getSourceRange(), clang::Stmt::getSourceRange(), clang::ValueDecl::getType(), clang::TypeSourceInfo::getTypeLoc(), clang::DeclaratorDecl::getTypeSourceInfo(), and clang::FunctionProtoType::hasTrailingReturn().
|
inlineoverridevirtual |
Reimplemented from clang::lifetimes::LifetimeSafetySemaHelper.
Definition at line 134 of file SemaLifetimeSafety.h.
References clang::FixItHint::CreateInsertion(), clang::lifetimes::CrossTU, clang::DeclaratorDecl::getBeginLoc(), clang::Stmt::getBeginLoc(), clang::Decl::getEndLoc(), clang::NamedDecl::getIdentifier(), clang::Lexer::getLocForEndOfToken(), clang::ParmVarDecl::getSourceRange(), and clang::Stmt::getSourceRange().