Lines Matching refs:OperatorNew
1509 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
1517 OperatorNew, OperatorDelete)) in BuildCXXNew()
1528 if (OperatorNew) { in BuildCXXNew()
1530 OperatorNew->getType()->getAs<FunctionProtoType>(); in BuildCXXNew()
1537 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, 1, in BuildCXXNew()
1545 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, PlacementArgs); in BuildCXXNew()
1552 if (PlacementArgs.empty() && OperatorNew && in BuildCXXNew()
1553 (OperatorNew->isImplicit() || in BuildCXXNew()
1554 getSourceManager().isInSystemHeader(OperatorNew->getLocStart()))) { in BuildCXXNew()
1627 if (OperatorNew) { in BuildCXXNew()
1628 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew()
1630 MarkFunctionReferenced(StartLoc, OperatorNew); in BuildCXXNew()
1657 CXXNewExpr(Context, UseGlobal, OperatorNew, OperatorDelete, in BuildCXXNew()
1726 FunctionDecl *&OperatorNew, in FindAllocationFunctions() argument
1765 /*AllowMissing=*/true, OperatorNew)) in FindAllocationFunctions()
1769 if (!OperatorNew) { in FindAllocationFunctions()
1775 /*AllowMissing=*/FallbackEnabled, OperatorNew, in FindAllocationFunctions()
1787 /*AllowMissing=*/false, OperatorNew)) in FindAllocationFunctions()
1831 bool isPlacementNew = (!PlaceArgs.empty() || OperatorNew->param_size() != 1); in FindAllocationFunctions()
1849 = OperatorNew->getType()->getAs<FunctionProtoType>(); in FindAllocationFunctions()