Searched refs:OperatorNewOrDelete (Results 1 – 1 of 1) sorted by relevance
3949 FunctionDecl *OperatorNewOrDelete = nullptr; in BuiltinOperatorNewDeleteOverloaded() local3951 OperatorNewOrDelete)) in BuiltinOperatorNewDeleteOverloaded()3953 assert(OperatorNewOrDelete && "should be found"); in BuiltinOperatorNewDeleteOverloaded()3955 DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc()); in BuiltinOperatorNewDeleteOverloaded()3956 MarkFunctionReferenced(TheCall->getExprLoc(), OperatorNewOrDelete); in BuiltinOperatorNewDeleteOverloaded()3958 TheCall->setType(OperatorNewOrDelete->getReturnType()); in BuiltinOperatorNewDeleteOverloaded()3960 QualType ParamTy = OperatorNewOrDelete->getParamDecl(i)->getType(); in BuiltinOperatorNewDeleteOverloaded()3972 Callee->setType(OperatorNewOrDelete->getType()); in BuiltinOperatorNewDeleteOverloaded()