Searched refs:OperatorNew (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 1364 FunctionDecl *OperatorNew = nullptr; in makeNewAndDeleteExpr() local 1401 OperatorNew, UnusedResult, /*Diagnose*/ false); in makeNewAndDeleteExpr() 1425 if (!OperatorNew || in makeNewAndDeleteExpr() 1451 if (!OperatorNew || !PassAlignment) { in makeNewAndDeleteExpr() 1452 FoundNonAlignedInPromise = OperatorNew; in makeNewAndDeleteExpr() 1458 if (!OperatorNew && !PlacementArgs.empty()) in makeNewAndDeleteExpr() 1465 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext()); in makeNewAndDeleteExpr() 1469 if (RequiresNoThrowAlloc && (!OperatorNew || IsGlobalOverload)) { in makeNewAndDeleteExpr() 1474 OperatorNew = nullptr; in makeNewAndDeleteExpr() 1482 S.Diag(OperatorNew->getLocation(), in makeNewAndDeleteExpr() [all …]
|
H A D | SemaExprCXX.cpp | 2310 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local 2327 OperatorNew, OperatorDelete)) in BuildCXXNew() 2338 if (OperatorNew) { in BuildCXXNew() 2339 auto *Proto = OperatorNew->getType()->castAs<FunctionProtoType>(); in BuildCXXNew() 2348 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, in BuildCXXNew() 2416 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, CallArgs); in BuildCXXNew() 2418 checkCall(OperatorNew, Proto, /*ThisArg=*/nullptr, CallArgs, in BuildCXXNew() 2424 (OperatorNew->isImplicit() || in BuildCXXNew() 2425 (OperatorNew->getBeginLoc().isValid() && in BuildCXXNew() 2426 getSourceManager().isInSystemHeader(OperatorNew->getBeginLoc())))) { in BuildCXXNew() [all …]
|
H A D | TreeTransform.h | 13384 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local 13386 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr() 13388 if (!OperatorNew) in TransformCXXNewExpr() 13404 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr() 13409 if (OperatorNew) in TransformCXXNewExpr() 13410 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew); in TransformCXXNewExpr()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 229 CXXNewExpr::CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, in CXXNewExpr() argument 239 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete), in CXXNewExpr() 293 const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew, in Create() argument 309 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment, in Create()
|
H A D | ExprConstant.cpp | 9899 FunctionDecl *OperatorNew = E->getOperatorNew(); in VisitCXXNewExpr() local 9903 if (OperatorNew->isReservedGlobalPlacementOperator() && in VisitCXXNewExpr() 9912 } else if (!OperatorNew->isReplaceableGlobalAllocationFunction()) { in VisitCXXNewExpr() 9914 << isa<CXXMethodDecl>(OperatorNew) << OperatorNew; in VisitCXXNewExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ExprCXX.h | 2246 FunctionDecl *OperatorNew; variable 2290 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, 2305 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew, 2343 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew() 2344 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; } in setOperatorNew()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 8190 FunctionDecl *&OperatorNew,
|