/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 1432 const FunctionDecl *OperatorDelete; member in __anondca4c77a0411::CallDeleteDuringNew 1447 const FunctionDecl *OperatorDelete, ValueTy Ptr, in CallDeleteDuringNew() argument 1452 OperatorDelete(OperatorDelete), Ptr(Ptr), AllocSize(AllocSize), in CallDeleteDuringNew() 1461 const auto *FPT = OperatorDelete->getType()->castAs<FunctionProtoType>(); in Emit() 1477 Params = getUsualDeleteParams(OperatorDelete); in Emit() 1504 EmitNewDeleteCall(CGF, OperatorDelete, FPT, DeleteArgs); in Emit() 1877 const FunctionDecl *OperatorDelete; member 1881 const FunctionDecl *OperatorDelete, in CallObjectDelete() 1883 : Ptr(Ptr), OperatorDelete(OperatorDelete), ElementType(ElementType) {} in CallObjectDelete() 1886 CGF.EmitDeleteCall(OperatorDelete, Ptr, ElementType); in Emit() [all …]
|
H A D | CodeGenFunction.h | 2214 void pushCallObjectDeleteCleanup(const FunctionDecl *OperatorDelete,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 1048 FunctionDecl *&OperatorDelete) { in findDeleteForPromise() argument 1061 if (S.FindDeallocationFunction(Loc, PointeeRD, DeleteName, OperatorDelete, in findDeleteForPromise() 1072 if (!OperatorDelete) { in findDeleteForPromise() 1079 OperatorDelete = S.FindUsualDeallocationFunction(Loc, CanProvideSize, in findDeleteForPromise() 1082 if (!OperatorDelete) in findDeleteForPromise() 1086 S.MarkFunctionReferenced(Loc, OperatorDelete); in findDeleteForPromise() 1509 FunctionDecl *OperatorDelete = nullptr; in makeNewAndDeleteExpr() local 1510 if (!findDeleteForPromise(S, Loc, PromiseType, OperatorDelete)) { in makeNewAndDeleteExpr() 1560 QualType OpDeleteQualType = OperatorDelete->getType(); in makeNewAndDeleteExpr() 1563 S.BuildDeclRefExpr(OperatorDelete, OpDeleteQualType, VK_LValue, Loc); in makeNewAndDeleteExpr()
|
H A D | SemaExprCXX.cpp | 2311 FunctionDecl *OperatorDelete = nullptr; in BuildCXXNew() local 2327 OperatorNew, OperatorDelete)) in BuildCXXNew() 2503 if (OperatorDelete) { in BuildCXXNew() 2504 if (DiagnoseUseOfDecl(OperatorDelete, StartLoc)) in BuildCXXNew() 2506 MarkFunctionReferenced(StartLoc, OperatorDelete); in BuildCXXNew() 2509 return CXXNewExpr::Create(Context, UseGlobal, OperatorNew, OperatorDelete, in BuildCXXNew() 2702 FunctionDecl *&OperatorDelete, in FindAllocationFunctions() argument 2799 OperatorDelete = nullptr; in FindAllocationFunctions() 2954 OperatorDelete = Matches[0].second; in FindAllocationFunctions() 2963 isNonPlacementDeallocationFunction(*this, OperatorDelete)) { in FindAllocationFunctions() [all …]
|
H A D | TreeTransform.h | 13392 FunctionDecl *OperatorDelete = nullptr; in TransformCXXNewExpr() local 13394 OperatorDelete = cast_or_null<FunctionDecl>( in TransformCXXNewExpr() 13396 if (!OperatorDelete) in TransformCXXNewExpr() 13405 OperatorDelete == E->getOperatorDelete() && in TransformCXXNewExpr() 13411 if (OperatorDelete) in TransformCXXNewExpr() 13412 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorDelete); in TransformCXXNewExpr() 13468 FunctionDecl *OperatorDelete = nullptr; in TransformCXXDeleteExpr() local 13470 OperatorDelete = cast_or_null<FunctionDecl>( in TransformCXXDeleteExpr() 13472 if (!OperatorDelete) in TransformCXXDeleteExpr() 13478 OperatorDelete == E->getOperatorDelete()) { in TransformCXXDeleteExpr() [all …]
|
H A D | SemaDeclCXX.cpp | 9705 FunctionDecl *OperatorDelete = nullptr; in ShouldDeleteSpecialMember() local 9709 OperatorDelete, /*Diagnose*/false)) { in ShouldDeleteSpecialMember() 10852 if (FunctionDecl *OperatorDelete = in CheckDestructor() local 10859 if (OperatorDelete->isDestroyingOperatorDelete()) { in CheckDestructor() 10860 QualType ParamType = OperatorDelete->getParamDecl(0)->getType(); in CheckDestructor() 10867 ActOnCXXThis(OperatorDelete->getParamDecl(0)->getLocation()); in CheckDestructor() 10880 DiagnoseUseOfDecl(OperatorDelete, Loc); in CheckDestructor() 10881 MarkFunctionReferenced(Loc, OperatorDelete); in CheckDestructor() 10882 Destructor->setOperatorDelete(OperatorDelete, ThisArg); in CheckDestructor()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ExprCXX.h | 2249 FunctionDecl *OperatorDelete; variable 2291 FunctionDecl *OperatorDelete, bool ShouldPassAlignment, 2306 FunctionDecl *OperatorDelete, bool ShouldPassAlignment, 2345 FunctionDecl *getOperatorDelete() const { return OperatorDelete; } in getOperatorDelete() 2346 void setOperatorDelete(FunctionDecl *D) { OperatorDelete = D; } in setOperatorDelete() 2501 FunctionDecl *OperatorDelete = nullptr; variable 2509 FunctionDecl *OperatorDelete, Expr *Arg, SourceLocation Loc) in CXXDeleteExpr() argument 2511 OperatorDelete(OperatorDelete), Argument(Arg) { in CXXDeleteExpr() 2536 FunctionDecl *getOperatorDelete() const { return OperatorDelete; } in getOperatorDelete()
|
H A D | DeclCXX.h | 2812 FunctionDecl *OperatorDelete = nullptr; variable 2840 return getCanonicalDecl()->OperatorDelete; in getOperatorDelete()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 230 FunctionDecl *OperatorDelete, bool ShouldPassAlignment, in CXXNewExpr() argument 239 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete), in CXXNewExpr() 294 FunctionDecl *OperatorDelete, bool ShouldPassAlignment, in Create() argument 309 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment, in Create()
|
H A D | DeclCXX.cpp | 2910 if (OD && !First->OperatorDelete) { in setOperatorDelete() 2911 First->OperatorDelete = OD; in setOperatorDelete()
|
H A D | ExprConstant.cpp | 15655 FunctionDecl *OperatorDelete = E->getOperatorDelete(); in VisitCXXDeleteExpr() local 15656 if (!OperatorDelete->isReplaceableGlobalAllocationFunction()) { in VisitCXXDeleteExpr() 15658 << isa<CXXMethodDecl>(OperatorDelete) << OperatorDelete; in VisitCXXDeleteExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 2314 if (auto *OperatorDelete = readDeclAs<FunctionDecl>()) { in VisitCXXDestructorDecl() local 2318 if (!Canon->OperatorDelete) { in VisitCXXDestructorDecl() 2319 Canon->OperatorDelete = OperatorDelete; in VisitCXXDestructorDecl() 4712 if (!First->OperatorDelete) { in UpdateDecl() 4713 First->OperatorDelete = Del; in UpdateDecl()
|
H A D | ASTReaderStmt.cpp | 1945 E->OperatorDelete = readDeclAs<FunctionDecl>(); in VisitCXXDeleteExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 8191 FunctionDecl *&OperatorDelete,
|