Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DDefaultOperatorNewAlignmentCheck.cpp55 !NewExpr->getOperatorNew() || NewExpr->getOperatorNew()->isImplicit(); in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DUsedDeclVisitor.h60 if (E->getOperatorNew()) in VisitCXXNewExpr()
61 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorNew()); in VisitCXXNewExpr()
H A DSemaExceptionSpec.cpp1208 CT = canCalleeThrow(*this, NE, NE->getOperatorNew()); in canThrow()
H A DTreeTransform.h12105 if (E->getOperatorNew()) { in TransformCXXNewExpr()
12107 getDerived().TransformDecl(E->getBeginLoc(), E->getOperatorNew())); in TransformCXXNewExpr()
12124 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUnhandledExceptionAtNewCheck.cpp36 FunctionDecl *OperatorNew = Node.getOperatorNew(); in AST_MATCHER()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DAnyCall.h82 : E(NE), D(NE->getOperatorNew()), K(Allocator) {} in AnyCall()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCallGraph.cpp91 if (FunctionDecl *FD = E->getOperatorNew()) in VisitCXXNewExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp298 if (!NE->getOperatorNew()->isReservedGlobalPlacementOperator()) in checkPreStmt()
H A DPointerArithChecker.cpp242 const FunctionDecl *FD = NE->getOperatorNew(); in checkPostStmt()
H A DMallocChecker.cpp1861 << getOperatorSpelling(NE->getOperatorNew()->getOverloadedOperator()) in printMemFnName()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp916 if (const FunctionDecl *FD = CNE->getOperatorNew()) { in VisitCXXNewAllocatorCall()
945 FunctionDecl *FD = CNE->getOperatorNew(); in VisitCXXNewExpr()
H A DExprEngineCallAndReturn.cpp747 if (CNE && CNE->getOperatorNew()->isReplaceableGlobalAllocationFunction()) { in bindReturnValue()
H A DExprEngine.cpp1114 PostImplicitCall PP(NE->getOperatorNew(), NE->getBeginLoc(), LCtx); in ProcessNewAllocator()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp278 return !getOperatorNew()->hasAttr<ReturnsNonNullAttr>() && in shouldNullCheckAllocation()
279 getOperatorNew() in shouldNullCheckAllocation()
283 !getOperatorNew()->isReservedGlobalPlacementOperator(); in shouldNullCheckAllocation()
H A DTextNodeDumper.cpp1244 if (Node->getOperatorNew()) { in VisitCXXNewExpr()
1246 dumpBareDeclRef(Node->getOperatorNew()); in VisitCXXNewExpr()
H A DJSONNodeDumper.cpp1266 if (const FunctionDecl *FD = NE->getOperatorNew()) in VisitCXXNewExpr()
H A DStmtProfile.cpp2026 VisitDecl(S->getOperatorNew()); in VisitCXXNewExpr()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1016 return getOriginExpr()->getOperatorNew(); in getDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprCXX.cpp689 if (E->getOperatorNew()->isReservedGlobalPlacementOperator()) in CalculateCookiePadding()
1557 FunctionDecl *allocator = E->getOperatorNew(); in EmitCXXNewExpr()
H A DItaniumCXXABI.cpp2195 (expr->getOperatorNew()->isReplaceableGlobalAllocationFunction() || in InitializeArrayCookie()
H A DCodeGenModule.cpp3386 SafeToInline = E->getOperatorNew()->hasAttr<DLLImportAttr>(); in VisitCXXNewExpr()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp342 Outer.add(CNE->getOperatorNew(), Flags); in add()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1126 return matchesDecl(Node.getOperatorNew(), Finder, Builder);
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp1788 Record.AddDeclRef(E->getOperatorNew()); in VisitCXXNewExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprCXX.h2257 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew() function

12