File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -9276,8 +9276,6 @@ DeclResult Sema::ActOnClassTemplateSpecialization(
9276
9276
9277
9277
// NOTE: KWLoc is the location of the tag keyword. This will instead
9278
9278
// store the location of the outermost template keyword in the declaration.
9279
- SourceLocation TemplateKWLoc = TemplateParameterLists.size () > 0
9280
- ? TemplateParameterLists[0 ]->getTemplateLoc () : KWLoc;
9281
9279
SourceLocation TemplateNameLoc = TemplateId.TemplateNameLoc ;
9282
9280
SourceLocation LAngleLoc = TemplateId.LAngleLoc ;
9283
9281
SourceLocation RAngleLoc = TemplateId.RAngleLoc ;
Original file line number Diff line number Diff line change @@ -3932,12 +3932,6 @@ TemplateDeclInstantiator::VisitClassTemplateSpecializationDecl(
3932
3932
if (SubstQualifier (D, InstD))
3933
3933
return nullptr ;
3934
3934
3935
- // Build the canonical type that describes the converted template
3936
- // arguments of the class template explicit specialization.
3937
- QualType CanonType = SemaRef.Context .getTemplateSpecializationType (
3938
- TemplateName (InstClassTemplate), CanonicalConverted,
3939
- SemaRef.Context .getRecordType (InstD));
3940
-
3941
3935
InstD->setAccess (D->getAccess ());
3942
3936
InstD->setInstantiationOfMemberClass (D, TSK_ImplicitInstantiation);
3943
3937
InstD->setSpecializationKind (D->getSpecializationKind ());
You can’t perform that action at this time.
0 commit comments