Lines Matching refs:OperatorNew
1239 FunctionDecl *OperatorNew = 0; in BuildCXXNew() local
1250 NumPlaceArgs, OperatorNew, OperatorDelete)) in BuildCXXNew()
1261 if (OperatorNew) { in BuildCXXNew()
1264 OperatorNew->getType()->getAs<FunctionProtoType>(); in BuildCXXNew()
1268 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, in BuildCXXNew()
1277 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, in BuildCXXNew()
1285 if (NumPlaceArgs == 0 && OperatorNew && in BuildCXXNew()
1286 (OperatorNew->isImplicit() || in BuildCXXNew()
1287 getSourceManager().isInSystemHeader(OperatorNew->getLocStart()))) { in BuildCXXNew()
1358 if (OperatorNew) in BuildCXXNew()
1359 MarkFunctionReferenced(StartLoc, OperatorNew); in BuildCXXNew()
1382 return Owned(new (Context) CXXNewExpr(Context, UseGlobal, OperatorNew, in BuildCXXNew()
1450 FunctionDecl *&OperatorNew, in FindAllocationFunctions() argument
1490 OperatorNew)) in FindAllocationFunctions()
1493 if (!OperatorNew) { in FindAllocationFunctions()
1499 OperatorNew)) in FindAllocationFunctions()
1547 bool isPlacementNew = (NumPlaceArgs > 0 || OperatorNew->param_size() != 1); in FindAllocationFunctions()
1565 = OperatorNew->getType()->getAs<FunctionProtoType>(); in FindAllocationFunctions()