| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | DefaultOperatorNewAlignmentCheck.cpp | 55 !NewExpr->getOperatorNew() || NewExpr->getOperatorNew()->isImplicit(); in check()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | UsedDeclVisitor.h | 60 if (E->getOperatorNew()) in VisitCXXNewExpr() 61 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorNew()); in VisitCXXNewExpr()
|
| H A D | SemaExceptionSpec.cpp | 1208 CT = canCalleeThrow(*this, NE, NE->getOperatorNew()); in canThrow()
|
| H A D | TreeTransform.h | 12105 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 D | UnhandledExceptionAtNewCheck.cpp | 36 FunctionDecl *OperatorNew = Node.getOperatorNew(); in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | AnyCall.h | 82 : E(NE), D(NE->getOperatorNew()), K(Allocator) {} in AnyCall()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 91 if (FunctionDecl *FD = E->getOperatorNew()) in VisitCXXNewExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 298 if (!NE->getOperatorNew()->isReservedGlobalPlacementOperator()) in checkPreStmt()
|
| H A D | PointerArithChecker.cpp | 242 const FunctionDecl *FD = NE->getOperatorNew(); in checkPostStmt()
|
| H A D | MallocChecker.cpp | 1861 << getOperatorSpelling(NE->getOperatorNew()->getOverloadedOperator()) in printMemFnName()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 916 if (const FunctionDecl *FD = CNE->getOperatorNew()) { in VisitCXXNewAllocatorCall() 945 FunctionDecl *FD = CNE->getOperatorNew(); in VisitCXXNewExpr()
|
| H A D | ExprEngineCallAndReturn.cpp | 747 if (CNE && CNE->getOperatorNew()->isReplaceableGlobalAllocationFunction()) { in bindReturnValue()
|
| H A D | ExprEngine.cpp | 1114 PostImplicitCall PP(NE->getOperatorNew(), NE->getBeginLoc(), LCtx); in ProcessNewAllocator()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 278 return !getOperatorNew()->hasAttr<ReturnsNonNullAttr>() && in shouldNullCheckAllocation() 279 getOperatorNew() in shouldNullCheckAllocation() 283 !getOperatorNew()->isReservedGlobalPlacementOperator(); in shouldNullCheckAllocation()
|
| H A D | TextNodeDumper.cpp | 1244 if (Node->getOperatorNew()) { in VisitCXXNewExpr() 1246 dumpBareDeclRef(Node->getOperatorNew()); in VisitCXXNewExpr()
|
| H A D | JSONNodeDumper.cpp | 1266 if (const FunctionDecl *FD = NE->getOperatorNew()) in VisitCXXNewExpr()
|
| H A D | StmtProfile.cpp | 2026 VisitDecl(S->getOperatorNew()); in VisitCXXNewExpr()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 1016 return getOriginExpr()->getOperatorNew(); in getDecl()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 689 if (E->getOperatorNew()->isReservedGlobalPlacementOperator()) in CalculateCookiePadding() 1557 FunctionDecl *allocator = E->getOperatorNew(); in EmitCXXNewExpr()
|
| H A D | ItaniumCXXABI.cpp | 2195 (expr->getOperatorNew()->isReplaceableGlobalAllocationFunction() || in InitializeArrayCookie()
|
| H A D | CodeGenModule.cpp | 3386 SafeToInline = E->getOperatorNew()->hasAttr<DLLImportAttr>(); in VisitCXXNewExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindTarget.cpp | 342 Outer.add(CNE->getOperatorNew(), Flags); in add()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1126 return matchesDecl(Node.getOperatorNew(), Finder, Builder);
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 1788 Record.AddDeclRef(E->getOperatorNew()); in VisitCXXNewExpr()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 2257 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew() function
|