Lines Matching refs:PartialSpec
2779 // specialized by the instantiation of \p PartialSpec.
2781 /// \param PartialSpec the (uninstantiated) class template partial
2789 ClassTemplatePartialSpecializationDecl *PartialSpec) {
2797 TemplateParameterList *TempParams = PartialSpec->getTemplateParameters();
2805 = PartialSpec->getTemplateArgsAsWritten();
2817 PartialSpec->getLocation(),
2846 PartialSpec->getLocation(),
2866 SemaRef.Diag(PartialSpec->getLocation(), diag::err_partial_spec_redeclared)
2877 PartialSpec->getTagKind(),
2879 PartialSpec->getLocStart(),
2880 PartialSpec->getLocation(),
2889 if (SubstQualifier(PartialSpec, InstPartialSpec))
2892 InstPartialSpec->setInstantiatedFromMember(PartialSpec);
2906 /// specialized by the instantiation of \p PartialSpec.
2908 /// \param PartialSpec the (uninstantiated) variable template partial
2916 VarTemplatePartialSpecializationDecl *PartialSpec) {
2924 TemplateParameterList *TempParams = PartialSpec->getTemplateParameters();
2932 = PartialSpec->getTemplateArgsAsWritten();
2943 if (SemaRef.CheckTemplateArgumentList(VarTemplate, PartialSpec->getLocation(),
2966 TemplateName(VarTemplate), PartialSpec->getLocation(), InstTemplateArgs,
2985 SemaRef.Diag(PartialSpec->getLocation(),
2995 PartialSpec->getTypeSourceInfo(), TemplateArgs,
2996 PartialSpec->getTypeSpecStartLoc(), PartialSpec->getDeclName());
3001 SemaRef.Diag(PartialSpec->getLocation(),
3003 << PartialSpec->isStaticDataMember() << DI->getType();
3010 SemaRef.Context, Owner, PartialSpec->getInnerLocStart(),
3011 PartialSpec->getLocation(), InstParams, VarTemplate, DI->getType(),
3012 DI, PartialSpec->getStorageClass(), Converted.data(),
3016 if (SubstQualifier(PartialSpec, InstPartialSpec))
3019 InstPartialSpec->setInstantiatedFromMember(PartialSpec);
3026 SemaRef.BuildVariableInstantiation(InstPartialSpec, PartialSpec, TemplateArgs,
3566 if (VarTemplatePartialSpecializationDecl *PartialSpec =
3568 IsMemberSpec = PartialSpec->isMemberSpecialization();
4334 if (ClassTemplatePartialSpecializationDecl *PartialSpec
4337 PartialSpec);
4516 else if (ClassTemplatePartialSpecializationDecl *PartialSpec
4518 ClassTemplate = PartialSpec->getSpecializedTemplate()->getCanonicalDecl();