Lines Matching refs:OperatorNew
1501 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
1509 OperatorNew, OperatorDelete)) in BuildCXXNew()
1520 if (OperatorNew) { in BuildCXXNew()
1522 OperatorNew->getType()->getAs<FunctionProtoType>(); in BuildCXXNew()
1529 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, 1, in BuildCXXNew()
1537 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, PlacementArgs); in BuildCXXNew()
1544 if (PlacementArgs.empty() && OperatorNew && in BuildCXXNew()
1545 (OperatorNew->isImplicit() || in BuildCXXNew()
1546 getSourceManager().isInSystemHeader(OperatorNew->getLocStart()))) { in BuildCXXNew()
1619 if (OperatorNew) { in BuildCXXNew()
1620 if (DiagnoseUseOfDecl(OperatorNew, StartLoc)) in BuildCXXNew()
1622 MarkFunctionReferenced(StartLoc, OperatorNew); in BuildCXXNew()
1649 CXXNewExpr(Context, UseGlobal, OperatorNew, OperatorDelete, in BuildCXXNew()
1718 FunctionDecl *&OperatorNew, in FindAllocationFunctions() argument
1757 /*AllowMissing=*/true, OperatorNew)) in FindAllocationFunctions()
1761 if (!OperatorNew) { in FindAllocationFunctions()
1767 /*AllowMissing=*/FallbackEnabled, OperatorNew, in FindAllocationFunctions()
1779 /*AllowMissing=*/false, OperatorNew)) in FindAllocationFunctions()
1823 bool isPlacementNew = (!PlaceArgs.empty() || OperatorNew->param_size() != 1); in FindAllocationFunctions()
1841 = OperatorNew->getType()->getAs<FunctionProtoType>(); in FindAllocationFunctions()