Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCoroutine.cpp1266 FunctionDecl *OperatorNew = nullptr; in makeNewAndDeleteExpr() local
1315 OperatorNew, UnusedResult, /*Diagnose*/ false); in makeNewAndDeleteExpr()
1321 if (!OperatorNew && !PlacementArgs.empty()) { in makeNewAndDeleteExpr()
1326 OperatorNew, UnusedResult, /*Diagnose*/ false); in makeNewAndDeleteExpr()
1333 if (!OperatorNew) { in makeNewAndDeleteExpr()
1337 OperatorNew, UnusedResult); in makeNewAndDeleteExpr()
1341 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext()); in makeNewAndDeleteExpr()
1345 if (RequiresNoThrowAlloc && (!OperatorNew || IsGlobalOverload)) { in makeNewAndDeleteExpr()
1350 OperatorNew = nullptr; in makeNewAndDeleteExpr()
1354 OperatorNew, UnusedResult); in makeNewAndDeleteExpr()
[all …]
H A DSemaExprCXX.cpp2162 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
2176 OperatorNew, OperatorDelete)) in BuildCXXNew()
2187 if (OperatorNew) { in BuildCXXNew()
2188 auto *Proto = OperatorNew->getType()->castAs<FunctionProtoType>(); in BuildCXXNew()
2197 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, in BuildCXXNew()
2266 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, CallArgs); in BuildCXXNew()
2268 checkCall(OperatorNew, Proto, /*ThisArg=*/nullptr, CallArgs, in BuildCXXNew()
2274 (OperatorNew->isImplicit() || in BuildCXXNew()
2275 (OperatorNew->getBeginLoc().isValid() && in BuildCXXNew()
2276 getSourceManager().isInSystemHeader(OperatorNew->getBeginLoc())))) { in BuildCXXNew()
[all …]
H A DTreeTransform.h11744 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local
11746 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
11748 if (!OperatorNew) in TransformCXXNewExpr()
11764 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
11769 if (OperatorNew) in TransformCXXNewExpr()
11770 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew); in TransformCXXNewExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprCXX.cpp181 CXXNewExpr::CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, in CXXNewExpr() argument
191 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete), in CXXNewExpr()
244 FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete, in Create() argument
260 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment, in Create()
H A DExprConstant.cpp9332 FunctionDecl *OperatorNew = E->getOperatorNew(); in VisitCXXNewExpr() local
9336 if (OperatorNew->isReservedGlobalPlacementOperator() && in VisitCXXNewExpr()
9345 } else if (!OperatorNew->isReplaceableGlobalAllocationFunction()) { in VisitCXXNewExpr()
9347 << isa<CXXMethodDecl>(OperatorNew) << OperatorNew; in VisitCXXNewExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExprCXX.h2147 FunctionDecl *OperatorNew; variable
2204 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew,
2219 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew,
2257 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew()
2258 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; } in setOperatorNew()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h6255 FunctionDecl *&OperatorNew,