Lines Matching refs:OperatorNew
1335 FunctionDecl *OperatorNew = 0;
1343 OperatorNew, OperatorDelete))
1354 if (OperatorNew) {
1357 OperatorNew->getType()->getAs<FunctionProtoType>();
1361 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, 1,
1368 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, PlacementArgs);
1375 if (PlacementArgs.empty() && OperatorNew &&
1376 (OperatorNew->isImplicit() ||
1377 getSourceManager().isInSystemHeader(OperatorNew->getLocStart()))) {
1451 if (OperatorNew) {
1452 if (DiagnoseUseOfDecl(OperatorNew, StartLoc))
1454 MarkFunctionReferenced(StartLoc, OperatorNew);
1480 return Owned(new (Context) CXXNewExpr(Context, UseGlobal, OperatorNew,
1545 FunctionDecl *&OperatorNew,
1584 /*AllowMissing=*/true, OperatorNew))
1588 if (!OperatorNew) {
1594 /*AllowMissing=*/FallbackEnabled, OperatorNew,
1606 /*AllowMissing=*/false, OperatorNew))
1655 bool isPlacementNew = (!PlaceArgs.empty() || OperatorNew->param_size() != 1);
1673 = OperatorNew->getType()->getAs<FunctionProtoType>();