Lines Matching full:deduced
3325 // If we got a non-deduced auto ReturnType, we are in a dependent context and in getCopyElisionCandidate()
3326 // there is no point in allowing copy elision since we won't have it deduced in getCopyElisionCandidate()
3649 assert(AT->isDeduced() && "should have deduced to dependent type"); in DeduceFunctionTypeFromReturnExpr()
3658 // For a function with a deduced result type to return with omitted in DeduceFunctionTypeFromReturnExpr()
3670 QualType Deduced = AT->getDeducedType(); in DeduceFunctionTypeFromReturnExpr() local
3684 OrigResultType, RetExpr, Deduced, Info, /*DependentDeduction=*/false, in DeduceFunctionTypeFromReturnExpr()
3695 // type has multiple return statements, the return type is deduced for in DeduceFunctionTypeFromReturnExpr()
3696 // each return statement. [...] if the type deduced is not the same in in DeduceFunctionTypeFromReturnExpr()
3722 !Deduced->isVoidType()) { in DeduceFunctionTypeFromReturnExpr()
3728 if (!FD->isInvalidDecl() && AT->getDeducedType() != Deduced) in DeduceFunctionTypeFromReturnExpr()
3729 // Update all declarations of the function to have the deduced return type. in DeduceFunctionTypeFromReturnExpr()
3730 Context.adjustDeducedFunctionResultType(FD, Deduced); in DeduceFunctionTypeFromReturnExpr()
3739 // RetValExp should determine the deduced type. in ActOnReturnStmt()