Home
last modified time | relevance | path

Searched refs:getOperatorDelete (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h62 if (E->getOperatorDelete()) in VisitCXXNewExpr()
63 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorDelete()); in VisitCXXNewExpr()
68 if (E->getOperatorDelete()) in VisitCXXDeleteExpr()
69 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorDelete()); in VisitCXXDeleteExpr()
H A DSemaExceptionSpec.cpp1209 CT = canCalleeThrow(*this, DE, DE->getOperatorDelete()); in canThrow()
H A DTreeTransform.h13393 if (E->getOperatorDelete()) { in TransformCXXNewExpr()
13395 getDerived().TransformDecl(E->getBeginLoc(), E->getOperatorDelete())); in TransformCXXNewExpr()
13405 OperatorDelete == E->getOperatorDelete() && in TransformCXXNewExpr()
13469 if (E->getOperatorDelete()) { in TransformCXXDeleteExpr()
13471 getDerived().TransformDecl(E->getBeginLoc(), E->getOperatorDelete())); in TransformCXXDeleteExpr()
13478 OperatorDelete == E->getOperatorDelete()) { in TransformCXXDeleteExpr()
H A DSemaDeclCXX.cpp10843 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp97 DE->getOperatorDelete()->getOverloadedOperator(); in checkPreStmt()
153 if (DE->getOperatorDelete()->getOverloadedOperator() != OO_Array_Delete) in checkTypedDeleteExpr()
H A DMallocChecker.cpp1911 << getOperatorSpelling(DE->getOperatorDelete()->getOverloadedOperator()) in printMemFnName()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp1532 EHCleanup, E->getNumPlacementArgs(), E->getOperatorDelete(), in EnterNewDeleteCleanup()
1560 E->getOperatorDelete(), in EnterNewDeleteCleanup()
1625 if (E->getOperatorDelete() && in EmitCXXNewExpr()
1626 !E->getOperatorDelete()->isReservedGlobalPlacementOperator()) { in EmitCXXNewExpr()
1725 if (E->getOperatorDelete() && in EmitCXXNewExpr()
1726 !E->getOperatorDelete()->isReservedGlobalPlacementOperator()) { in EmitCXXNewExpr()
1911 CGF.EmitDeleteCall(DE->getOperatorDelete(), Ptr.emitRawPointer(CGF), in EmitDestroyingObjectDelete()
1931 const FunctionDecl *OperatorDelete = DE->getOperatorDelete(); in EmitObjectDelete()
2051 const FunctionDecl *operatorDelete = E->getOperatorDelete(); in EmitArrayDelete()
2106 if (E->getOperatorDelete()->isDestroyingOperatorDelete()) { in EmitCXXDeleteExpr()
H A DCGClass.cpp1585 CGF.EmitDeleteCall(Dtor->getOperatorDelete(), in Emit()
1603 CGF.EmitDeleteCall(Dtor->getOperatorDelete(), in EmitConditionalDtorDeleteCall()
1606 assert(Dtor->getOperatorDelete()->isDestroyingOperatorDelete() == in EmitConditionalDtorDeleteCall()
1853 assert(DD->getOperatorDelete() && in EnterDtorCleanups()
1858 if (DD->getOperatorDelete()->isDestroyingOperatorDelete()) in EnterDtorCleanups()
1865 if (DD->getOperatorDelete()->isDestroyingOperatorDelete()) { in EnterDtorCleanups()
1867 EmitDeleteCall(DD->getOperatorDelete(), in EnterDtorCleanups()
H A DMicrosoftCXXABI.cpp906 CGF.EmitDeleteCall(DE->getOperatorDelete(), MDThis, ElementType); in emitVirtualObjectDelete()
H A DItaniumCXXABI.cpp1399 CGF.pushCallObjectDeleteCleanup(DE->getOperatorDelete(), CompletePtr, in emitVirtualObjectDelete()
H A DCodeGenModule.cpp3991 SafeToInline = E->getOperatorDelete()->hasAttr<DLLImportAttr>(); in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h86 : E(NE), D(NE->getOperatorDelete()), K(Deallocator) {} in AnyCall()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp1407 if (const FunctionDecl *FD = NE->getOperatorDelete()) in VisitCXXNewExpr()
1414 if (const FunctionDecl *FD = DE->getOperatorDelete()) in VisitCXXDeleteExpr()
H A DStmtProfile.cpp2119 VisitDecl(S->getOperatorDelete()); in VisitCXXDeleteExpr()
2126 VisitDecl(S->getOperatorDelete()); in VisitCXXNewExpr()
H A DTextNodeDumper.cpp1607 if (Node->getOperatorDelete()) { in VisitCXXDeleteExpr()
1609 dumpBareDeclRef(Node->getOperatorDelete()); in VisitCXXDeleteExpr()
H A DExprCXX.cpp349 getOperatorDelete()->isDestroyingOperatorDelete()) && in getDestroyedType()
H A DASTImporter.cpp3906 Err, const_cast<FunctionDecl *>(FromDtor->getOperatorDelete())); in VisitFunctionDecl()
8254 auto ToOperatorDelete = importChecked(Err, E->getOperatorDelete()); in VisitCXXNewExpr()
8282 auto ToOperatorDelete = importChecked(Err, E->getOperatorDelete()); in VisitCXXDeleteExpr()
H A DExprConstant.cpp6891 return DD->isVirtual() ? DD->getOperatorDelete() : nullptr; in getVirtualOperatorDelete()
15655 FunctionDecl *OperatorDelete = E->getOperatorDelete(); in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1216 return getOriginExpr()->getOperatorDelete(); in getDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1610 Record.AddDeclRef(D->getOperatorDelete()); in VisitCXXDestructorDecl()
1611 if (D->getOperatorDelete()) in VisitCXXDestructorDecl()
H A DASTWriterStmt.cpp1919 Record.AddDeclRef(E->getOperatorDelete()); in VisitCXXNewExpr()
1939 Record.AddDeclRef(E->getOperatorDelete()); in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2345 FunctionDecl *getOperatorDelete() const { return OperatorDelete; } in getOperatorDelete() function
2536 FunctionDecl *getOperatorDelete() const { return OperatorDelete; } in getOperatorDelete() function
H A DDeclCXX.h2839 const FunctionDecl *getOperatorDelete() const { in getOperatorDelete() function