Home
last modified time | relevance | path

Searched refs:OperatorNew (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1454 FunctionDecl *OperatorNew = nullptr; in makeNewAndDeleteExpr() local
1515 if (!OperatorNew || in makeNewAndDeleteExpr()
1541 if (!OperatorNew || !PassAlignment) { in makeNewAndDeleteExpr()
1555 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext()); in makeNewAndDeleteExpr()
1564 OperatorNew = nullptr; in makeNewAndDeleteExpr()
1572 S.Diag(OperatorNew->getLocation(), in makeNewAndDeleteExpr()
1577 if (!OperatorNew) { in makeNewAndDeleteExpr()
1590 S.Diag(OperatorNew->getLocation(), in makeNewAndDeleteExpr()
1592 << OperatorNew; in makeNewAndDeleteExpr()
1594 << OperatorNew; in makeNewAndDeleteExpr()
[all …]
H A DSemaExprCXX.cpp2279 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
2296 OperatorNew, OperatorDelete)) in BuildCXXNew()
2307 if (OperatorNew) { in BuildCXXNew()
2387 checkCall(OperatorNew, Proto, /*ThisArg=*/nullptr, CallArgs, in BuildCXXNew()
2393 (OperatorNew->isImplicit() || in BuildCXXNew()
2394 (OperatorNew->getBeginLoc().isValid() && in BuildCXXNew()
2467 if (OperatorNew) { in BuildCXXNew()
2468 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew()
2470 MarkFunctionReferenced(StartLoc, OperatorNew); in BuildCXXNew()
2676 FunctionDecl *&OperatorNew, in FindAllocationFunctions() argument
[all …]
H A DTreeTransform.h12518 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local
12520 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
12522 if (!OperatorNew) in TransformCXXNewExpr()
12538 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
12543 if (OperatorNew) in TransformCXXNewExpr()
12544 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew); in TransformCXXNewExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp182 CXXNewExpr::CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, in CXXNewExpr() argument
192 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete), in CXXNewExpr()
246 const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew, in Create() argument
262 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment, in Create()
H A DExprConstant.cpp9798 FunctionDecl *OperatorNew = E->getOperatorNew(); in VisitCXXNewExpr() local
9802 if (OperatorNew->isReservedGlobalPlacementOperator() && in VisitCXXNewExpr()
9811 } else if (!OperatorNew->isReplaceableGlobalAllocationFunction()) { in VisitCXXNewExpr()
9813 << isa<CXXMethodDecl>(OperatorNew) << OperatorNew; in VisitCXXNewExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2230 FunctionDecl *OperatorNew; variable
2274 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew,
2289 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew,
2327 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew()
2328 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; } in setOperatorNew()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6915 FunctionDecl *&OperatorNew,