reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
693 assert(CSI.HasImplicitReturnType); 695 assert(CSI.ReturnType.isNull() || !CSI.ReturnType->isUndeducedType()); 695 assert(CSI.ReturnType.isNull() || !CSI.ReturnType->isUndeducedType()); 696 assert((!isa<LambdaScopeInfo>(CSI) || !getLangOpts().CPlusPlus14) && 724 if (CSI.Returns.empty()) { 727 if (CSI.ReturnType.isNull()) 728 CSI.ReturnType = Ctx.VoidTy; 734 assert(!CSI.ReturnType.isNull() && "We should have a tentative return type."); 735 if (CSI.ReturnType->isDependentType()) 740 assert(isa<BlockScopeInfo>(CSI)); 741 const EnumDecl *ED = findCommonEnumForBlockReturns(CSI.Returns); 743 CSI.ReturnType = Context.getTypeDeclType(ED); 744 adjustBlockReturnsToEnum(*this, CSI.Returns, CSI.ReturnType); 744 adjustBlockReturnsToEnum(*this, CSI.Returns, CSI.ReturnType); 750 if (CSI.Returns.size() == 1) 759 for (const ReturnStmt *RS : CSI.Returns) { 765 Context.getCanonicalFunctionResultType(CSI.ReturnType)) { 768 auto BlockNullability = CSI.ReturnType->getNullability(Ctx); 772 CSI.ReturnType = ReturnType; 780 << ReturnType << CSI.ReturnType << isa<LambdaScopeInfo>(CSI); 780 << ReturnType << CSI.ReturnType << isa<LambdaScopeInfo>(CSI);