Searched refs:OperatorNew (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1230 FunctionDecl *OperatorNew = nullptr; in makeNewAndDeleteExpr() local 1285 if (!OperatorNew && !PlacementArgs.empty()) { in makeNewAndDeleteExpr() 1297 if (!OperatorNew) { in makeNewAndDeleteExpr() 1301 OperatorNew, UnusedResult); in makeNewAndDeleteExpr() 1305 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext()); in makeNewAndDeleteExpr() 1314 OperatorNew = nullptr; in makeNewAndDeleteExpr() 1321 if (!OperatorNew) in makeNewAndDeleteExpr() 1327 S.Diag(OperatorNew->getLocation(), in makeNewAndDeleteExpr() 1329 << OperatorNew; in makeNewAndDeleteExpr() 1331 << OperatorNew; in makeNewAndDeleteExpr() [all …]
|
| H A D | SemaExprCXX.cpp | 2179 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local 2193 OperatorNew, OperatorDelete)) in BuildCXXNew() 2204 if (OperatorNew) { in BuildCXXNew() 2285 checkCall(OperatorNew, Proto, /*ThisArg=*/nullptr, CallArgs, in BuildCXXNew() 2291 (OperatorNew->isImplicit() || in BuildCXXNew() 2292 (OperatorNew->getBeginLoc().isValid() && in BuildCXXNew() 2367 if (OperatorNew) { in BuildCXXNew() 2368 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew() 2370 MarkFunctionReferenced(StartLoc, OperatorNew); in BuildCXXNew() 2576 FunctionDecl *&OperatorNew, in FindAllocationFunctions() argument [all …]
|
| H A D | TreeTransform.h | 11823 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local 11825 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr() 11827 if (!OperatorNew) in TransformCXXNewExpr() 11843 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr() 11848 if (OperatorNew) in TransformCXXNewExpr() 11849 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew); in TransformCXXNewExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 181 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 D | ExprConstant.cpp | 9355 FunctionDecl *OperatorNew = E->getOperatorNew(); in VisitCXXNewExpr() local 9359 if (OperatorNew->isReservedGlobalPlacementOperator() && in VisitCXXNewExpr() 9368 } else if (!OperatorNew->isReplaceableGlobalAllocationFunction()) { in VisitCXXNewExpr() 9370 << isa<CXXMethodDecl>(OperatorNew) << OperatorNew; in VisitCXXNewExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 2147 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 6322 FunctionDecl *&OperatorNew,
|