clang 20.0.0git
Classes | Namespaces | Functions
CheckExprLifetime.h File Reference
#include "clang/AST/Expr.h"
#include "clang/Sema/Initialization.h"
#include "clang/Sema/Sema.h"

Go to the source code of this file.

Classes

struct  clang::sema::AssignedEntity
 Describes an entity that is being assigned. More...
 
struct  clang::sema::CapturingEntity
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::sema
 

Functions

bool clang::sema::isPointerLikeType (QualType QT)
 
void clang::sema::checkInitLifetime (Sema &SemaRef, const InitializedEntity &Entity, Expr *Init)
 Check that the lifetime of the given expr (and its subobjects) is sufficient for initializing the entity, and perform lifetime extension (when permitted) if not.
 
void clang::sema::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 entity.
 
void clang::sema::checkCaptureByLifetime (Sema &SemaRef, const CapturingEntity &Entity, Expr *Init)
 
void clang::sema::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 passed as an argument to a musttail function.
 
bool clang::sema::implicitObjectParamIsLifetimeBound (const FunctionDecl *FD)