Searched refs:OrigResultType (Results 1 – 2 of 2) sorted by relevance
3065 TypeLoc OrigResultType = getReturnTypeLoc(FD); in DeduceFunctionTypeFromReturnExpr() local3090 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()3094 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()3109 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()3111 << OrigResultType.getType(); in DeduceFunctionTypeFromReturnExpr()3115 Deduced = SubstAutoType(OrigResultType.getType(), Context.VoidTy); in DeduceFunctionTypeFromReturnExpr()
3527 TypeLoc OrigResultType = getReturnTypeLoc(FD); in DeduceFunctionTypeFromReturnExpr() local3552 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()3556 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()3571 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()3573 << OrigResultType.getType(); in DeduceFunctionTypeFromReturnExpr()3577 Deduced = SubstAutoType(OrigResultType.getType(), Context.VoidTy); in DeduceFunctionTypeFromReturnExpr()