Lines Matching full:guide
59 /// constructor to a deduction guide.
149 // Otherwise, we would have a CTAD guide with "dangling" template in TransformTypedefType()
192 // Build a deduction guide using the provided information.
194 // A deduction guide can be either a template or a non-template function
212 // Build the implicit deduction guide template.
213 auto *Guide = local
216 Guide->setImplicit(IsImplicit);
217 Guide->setParams(Params);
220 Param->setDeclContext(Guide);
222 TD->setDeclContext(Guide);
224 Guide->setAccess(AS_public);
227 DC->addDecl(Guide);
228 return Guide;
232 SemaRef.Context, DC, Loc, DeductionGuideName, TemplateParams, Guide);
234 Guide->setDescribedFunctionTemplate(GuideTemplate);
288 /// corresponding deduction guide, per C++1z [over.match.class.deduct]p1.
326 /// Transform a constructor declaration into a deduction guide.
438 /// Build a deduction guide with the specified parameter types.
482 /// Transform a constructor template parameter into a deduction guide template
546 // the user can write in a deduction-guide (because they cannot enter the in transformFunctionProtoType()
717 "name must be a deduction guide name"); in hasDeclaredDeductionGuides()
746 // alias deduction guide.
769 // deduction guide, we must use the entire set of template argument lists; in buildAssociatedConstraints()
842 // For 2), if the underlying deduction guide F is nested in a class template, in buildAssociatedConstraints()
859 // In this scenario, the deduction guide for `Foo` inside `Outer<int>`: in buildAssociatedConstraints()
868 // NOTE: The underlying deduction guide F is instantiated -- either from an in buildAssociatedConstraints()
869 // explicitly-written deduction guide member, or from a constructor. in buildAssociatedConstraints()
982 // deduction guide F.
999 // The (trailing) return type of the deduction guide. in BuildDeductionGuideForTypeAlias()
1003 // implicitly-generated deduction guide. in BuildDeductionGuideForTypeAlias()
1006 // explicit deduction guide. in BuildDeductionGuideForTypeAlias()
1009 // Deduce template arguments of the deduction guide f from the RHS of in BuildDeductionGuideForTypeAlias()
1028 // the return type of the deduction guide from it: Y->int, X->U in BuildDeductionGuideForTypeAlias()
1047 // the deduction guide f. in BuildDeductionGuideForTypeAlias()
1061 // Create a template parameter list for the synthesized deduction guide f'. in BuildDeductionGuideForTypeAlias()
1113 // To form a deduction guide f' from f, we leverage clang's instantiation in BuildDeductionGuideForTypeAlias()
1188 // FIXME: if there is an explicit deduction guide after the first use of the in DeclareImplicitDeductionGuidesForTypeAlias()
1189 // type alias usage, we will not cover this explicit deduction guide. fix this in DeclareImplicitDeductionGuidesForTypeAlias()
1207 // The deduction guide is a non-template function decl, we just clone it. in DeclareImplicitDeductionGuidesForTypeAlias()
1230 // FIXME: Here the synthesized deduction guide is not a templated in DeclareImplicitDeductionGuidesForTypeAlias()
1258 // Build an aggregate deduction guide for a type alias template.
1393 // Convert declared constructors into deduction guide templates. in DeclareImplicitDeductionGuides()
1423 // Cannot make a deduction guide when unparsed arguments are present. in DeclareImplicitDeductionGuides()