Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCoroutine.cpp1349 FunctionDecl *OperatorNew = nullptr; in makeNewAndDeleteExpr() local
1386 OperatorNew, UnusedResult, /*Diagnose*/ false); in makeNewAndDeleteExpr()
1410 if (!OperatorNew || in makeNewAndDeleteExpr()
1436 if (!OperatorNew || !PassAlignment) { in makeNewAndDeleteExpr()
1437 FoundNonAlignedInPromise = OperatorNew; in makeNewAndDeleteExpr()
1443 if (!OperatorNew && !PlacementArgs.empty()) in makeNewAndDeleteExpr()
1450 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext()); in makeNewAndDeleteExpr()
1454 if (RequiresNoThrowAlloc && (!OperatorNew || IsGlobalOverload)) { in makeNewAndDeleteExpr()
1459 OperatorNew = nullptr; in makeNewAndDeleteExpr()
1467 S.Diag(OperatorNew->getLocation(), in makeNewAndDeleteExpr()
[all …]
H A DSemaExprCXX.cpp2242 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
2256 OperatorNew, OperatorDelete)) in BuildCXXNew()
2267 if (OperatorNew) { in BuildCXXNew()
2268 auto *Proto = OperatorNew->getType()->castAs<FunctionProtoType>(); in BuildCXXNew()
2277 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, in BuildCXXNew()
2345 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, CallArgs); in BuildCXXNew()
2347 checkCall(OperatorNew, Proto, /*ThisArg=*/nullptr, CallArgs, in BuildCXXNew()
2353 (OperatorNew->isImplicit() || in BuildCXXNew()
2354 (OperatorNew->getBeginLoc().isValid() && in BuildCXXNew()
2355 getSourceManager().isInSystemHeader(OperatorNew->getBeginLoc())))) { in BuildCXXNew()
[all …]
H A DTreeTransform.h12279 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local
12281 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
12283 if (!OperatorNew) in TransformCXXNewExpr()
12299 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
12304 if (OperatorNew) in TransformCXXNewExpr()
12305 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew); in TransformCXXNewExpr()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprCXX.cpp182 CXXNewExpr::CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, in CXXNewExpr() argument
192 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete), in CXXNewExpr()
245 FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete, in Create() argument
261 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment, in Create()
H A DExprConstant.cpp9504 FunctionDecl *OperatorNew = E->getOperatorNew(); in VisitCXXNewExpr() local
9508 if (OperatorNew->isReservedGlobalPlacementOperator() && in VisitCXXNewExpr()
9517 } else if (!OperatorNew->isReplaceableGlobalAllocationFunction()) { in VisitCXXNewExpr()
9519 << isa<CXXMethodDecl>(OperatorNew) << OperatorNew; in VisitCXXNewExpr()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExprCXX.h2205 FunctionDecl *OperatorNew; variable
2262 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew,
2277 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew,
2315 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew()
2316 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; } in setOperatorNew()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h6763 FunctionDecl *&OperatorNew,