12#ifndef LLVM_CLANG_SEMA_CHECK_EXPR_LIFETIME_H
13#define LLVM_CLANG_SEMA_CHECK_EXPR_LIFETIME_H
Represents a static or instance method of a struct/union/class.
This represents one expression.
Represents a function declaration or definition.
Describes an entity that is being initialized.
Sema - This implements semantic analysis and AST building for C.
bool implicitObjectParamIsLifetimeBound(const FunctionDecl *FD)
void checkExprLifetimeMustTailArg(Sema &SemaRef, const InitializedEntity &Entity, Expr *Init)
Check that the lifetime of the given expr (and its subobjects) is sufficient, assuming that it is pas...
bool isPointerLikeType(QualType QT)
void checkInitLifetime(Sema &SemaRef, const InitializedEntity &Entity, Expr *Init)
Check that the lifetime of the given expr (and its subobjects) is sufficient for initializing the ent...
void checkAssignmentLifetime(Sema &SemaRef, const AssignedEntity &Entity, Expr *Init)
Check that the lifetime of the given expr (and its subobjects) is sufficient for assigning to the ent...
void checkCaptureByLifetime(Sema &SemaRef, const CapturingEntity &Entity, Expr *Init)
Describes an entity that is being assigned.
CXXMethodDecl * AssignmentOperator