Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCoroutine.cpp1111 FunctionDecl *OperatorNew = nullptr; in makeNewAndDeleteExpr() local
1166 if (!OperatorNew && !PlacementArgs.empty()) { in makeNewAndDeleteExpr()
1178 if (!OperatorNew) { in makeNewAndDeleteExpr()
1182 OperatorNew, UnusedResult); in makeNewAndDeleteExpr()
1186 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext()); in makeNewAndDeleteExpr()
1195 OperatorNew = nullptr; in makeNewAndDeleteExpr()
1202 if (!OperatorNew) in makeNewAndDeleteExpr()
1208 S.Diag(OperatorNew->getLocation(), in makeNewAndDeleteExpr()
1210 << OperatorNew; in makeNewAndDeleteExpr()
1212 << OperatorNew; in makeNewAndDeleteExpr()
[all …]
H A DSemaExprCXX.cpp2050 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
2075 if (OperatorNew) { in BuildCXXNew()
2077 OperatorNew->getType()->getAs<FunctionProtoType>(); in BuildCXXNew()
2101 (OperatorNew->isImplicit() || in BuildCXXNew()
2102 (OperatorNew->getBeginLoc().isValid() && in BuildCXXNew()
2160 if (OperatorNew) { in BuildCXXNew()
2161 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew()
2163 MarkFunctionReferenced(StartLoc, OperatorNew); in BuildCXXNew()
2359 FunctionDecl *&OperatorNew, in FindAllocationFunctions() argument
2509 OperatorNew->isVariadic(); in FindAllocationFunctions()
[all …]
H A DTreeTransform.h10269 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local
10271 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
10273 if (!OperatorNew) in TransformCXXNewExpr()
10289 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
10294 if (OperatorNew) in TransformCXXNewExpr()
10295 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew); in TransformCXXNewExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprCXX.cpp97 CXXNewExpr::CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, in CXXNewExpr() argument
108 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete), in CXXNewExpr()
180 FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete, in Create() argument
196 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment, in Create()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExprCXX.h1922 FunctionDecl *OperatorNew; variable
1979 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew,
1994 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew,
2033 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew()
2034 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; } in setOperatorNew()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5240 FunctionDecl *&OperatorNew,