Searched refs:OrigResultType (Results 1 – 1 of 1) sorted by relevance
2730 TypeLoc OrigResultType = FD->getTypeSourceInfo()->getTypeLoc(). in DeduceFunctionTypeFromReturnExpr() local2761 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()2765 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()2775 if (!OrigResultType.getType()->getAs<AutoType>()) { in DeduceFunctionTypeFromReturnExpr()2777 << OrigResultType.getType(); in DeduceFunctionTypeFromReturnExpr()2781 Deduced = SubstAutoType(OrigResultType.getType(), Context.VoidTy); in DeduceFunctionTypeFromReturnExpr()