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

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1136 FunctionDecl *OperatorNew = nullptr; local
1185 OperatorNew, UnusedResult, /*Diagnose*/ false);
1191 if (!OperatorNew && !PlacementArgs.empty()) {
1196 OperatorNew, UnusedResult, /*Diagnose*/ false);
1203 if (!OperatorNew) {
1207 OperatorNew, UnusedResult);
1211 OperatorNew && !isa<CXXRecordDecl>(OperatorNew->getDeclContext());
1215 if (RequiresNoThrowAlloc && (!OperatorNew || IsGlobalOverload)) {
1220 OperatorNew
[all...]
H A DSemaExprCXX.cpp2039 FunctionDecl *OperatorNew = nullptr;
2053 OperatorNew, OperatorDelete))
2064 if (OperatorNew) {
2066 OperatorNew->getType()->getAs<FunctionProtoType>();
2074 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto,
2083 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, PlacementArgs);
2090 (OperatorNew->isImplicit() ||
2091 (OperatorNew->getBeginLoc().isValid() &&
2092 getSourceManager().isInSystemHeader(OperatorNew->getBeginLoc())))) {
2166 if (OperatorNew) {
[all...]
H A DTreeTransform.h10817 FunctionDecl *OperatorNew = nullptr;
10819 OperatorNew = cast_or_null<FunctionDecl>(
10821 if (!OperatorNew)
10837 OperatorNew == E->getOperatorNew() &&
10842 if (OperatorNew)
10843 SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp167 CXXNewExpr::CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, argument
179 OperatorNew(OperatorNew), OperatorDelete(OperatorDelete),
259 FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete,
275 CXXNewExpr(IsGlobalNew, OperatorNew, OperatorDelete, ShouldPassAlignment,
258 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete, bool ShouldPassAlignment, bool UsualArrayDeleteWantsSize, ArrayRef<Expr *> PlacementArgs, SourceRange TypeIdParens, Optional<Expr *> ArraySize, InitializationStyle InitializationStyle, Expr *Initializer, QualType Ty, TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, SourceRange DirectInitRange) argument
H A DExprConstant.cpp8609 FunctionDecl *OperatorNew = E->getOperatorNew();
8613 if (OperatorNew->isReservedGlobalPlacementOperator() &&
8622 } else if (!OperatorNew->isReplaceableGlobalAllocationFunction()) {
8624 << isa<CXXMethodDecl>(OperatorNew) << OperatorNew;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2108 FunctionDecl *OperatorNew; member in class:clang::final
2165 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew,
2180 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew,
2218 FunctionDecl *getOperatorNew() const { return OperatorNew; }
2219 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; }
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5772 FunctionDecl *&OperatorNew,

Completed in 262 milliseconds