Home
last modified time | relevance | path

Searched refs:getOperatorNew (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h60 if (E->getOperatorNew()) in VisitCXXNewExpr()
61 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorNew()); in VisitCXXNewExpr()
H A DSemaFunctionEffects.cpp1237 if (FunctionDecl *FD = New->getOperatorNew()) { in VisitCXXNewExpr()
H A DSemaExceptionSpec.cpp1197 CT = canCalleeThrow(*this, NE, NE->getOperatorNew()); in canThrow()
H A DTreeTransform.h14505 if (E->getOperatorNew()) { in TransformCXXNewExpr()
14507 getDerived().TransformDecl(E->getBeginLoc(), E->getOperatorNew())); in TransformCXXNewExpr()
14524 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h83 : E(NE), D(NE->getOperatorNew()), K(Allocator) {} in AnyCall()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp157 if (E->isGlobalNew() || !E->getOperatorNew()) in VisitCXXNewExpr()
159 return IndexCtx.handleReference(E->getOperatorNew(), E->getBeginLoc(), in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp90 if (FunctionDecl *FD = E->getOperatorNew()) in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp298 if (!NE->getOperatorNew()->isReservedGlobalPlacementOperator()) in checkPreStmt()
H A DMallocChecker.cpp2128 << getOperatorSpelling(NE->getOperatorNew()->getOverloadedOperator()) in printMemFnName()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCXXExpr.cpp277 FunctionDecl *allocator = e->getOperatorNew(); in emitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp327 if (getOperatorNew()->getLangOpts().CheckNew) in shouldNullCheckAllocation()
329 return !getOperatorNew()->hasAttr<ReturnsNonNullAttr>() && in shouldNullCheckAllocation()
330 getOperatorNew() in shouldNullCheckAllocation()
334 !getOperatorNew()->isReservedGlobalPlacementOperator(); in shouldNullCheckAllocation()
H A DTextNodeDumper.cpp1747 if (Node->getOperatorNew()) { in VisitCXXNewExpr()
1749 dumpBareDeclRef(Node->getOperatorNew()); in VisitCXXNewExpr()
H A DJSONNodeDumper.cpp1419 if (const FunctionDecl *FD = NE->getOperatorNew()) in VisitCXXNewExpr()
H A DStmtProfile.cpp2166 VisitDecl(S->getOperatorNew()); in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp946 if (const FunctionDecl *FD = CNE->getOperatorNew()) { in VisitCXXNewAllocatorCall()
975 FunctionDecl *FD = CNE->getOperatorNew(); in VisitCXXNewExpr()
H A DExprEngineCallAndReturn.cpp798 if (CNE && CNE->getOperatorNew()->isReplaceableGlobalAllocationFunction()) { in bindReturnValue()
H A DExprEngine.cpp1331 PostImplicitCall PP(NE->getOperatorNew(), NE->getBeginLoc(), LCtx, in ProcessNewAllocator()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp704 if (E->getOperatorNew()->isReservedGlobalPlacementOperator()) in CalculateCookiePadding()
1607 FunctionDecl *allocator = E->getOperatorNew(); in EmitCXXNewExpr()
H A DItaniumCXXABI.cpp2485 (expr->getOperatorNew()->isReplaceableGlobalAllocationFunction() || in InitializeArrayCookie()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1139 return getOriginExpr()->getOperatorNew(); in getDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1122 return matchesDecl(Node.getOperatorNew(), Finder, Builder);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.cpp1848 const FunctionDecl *OperatorNew = NewExpr->getOperatorNew(); in InvalidNewDeleteExpr()
H A DCompiler.cpp3444 const FunctionDecl *OperatorNew = E->getOperatorNew(); in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1943 Record.AddDeclRef(E->getOperatorNew()); in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2439 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew() function

12