Searched refs:OperatorNewOrDelete (Results 1 – 1 of 1) sorted by relevance
3702 FunctionDecl *OperatorNewOrDelete = nullptr; in SemaBuiltinOperatorNewDeleteOverloaded() local3704 OperatorNewOrDelete)) in SemaBuiltinOperatorNewDeleteOverloaded()3706 assert(OperatorNewOrDelete && "should be found"); in SemaBuiltinOperatorNewDeleteOverloaded()3708 DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc()); in SemaBuiltinOperatorNewDeleteOverloaded()3709 MarkFunctionReferenced(TheCall->getExprLoc(), OperatorNewOrDelete); in SemaBuiltinOperatorNewDeleteOverloaded()3711 TheCall->setType(OperatorNewOrDelete->getReturnType()); in SemaBuiltinOperatorNewDeleteOverloaded()3713 QualType ParamTy = OperatorNewOrDelete->getParamDecl(i)->getType(); in SemaBuiltinOperatorNewDeleteOverloaded()3725 Callee->setType(OperatorNewOrDelete->getType()); in SemaBuiltinOperatorNewDeleteOverloaded()