@@ -394,7 +394,6 @@ struct TypealiasDecl {
394
394
395
395
struct AssociatedTypeDecl {
396
396
Identifier Name;
397
- Optional<TypeName> Superclass;
398
397
Optional<TypeName> DefaultDefinition;
399
398
DeclAttributes Attributes;
400
399
};
@@ -603,7 +602,6 @@ template <> struct MappingTraits<::swift::sma::TypealiasDecl> {
603
602
template <> struct MappingTraits <::swift::sma::AssociatedTypeDecl> {
604
603
static void mapping (IO &io, ::swift::sma::AssociatedTypeDecl &ATD) {
605
604
io.mapRequired (" Name" , ATD.Name );
606
- io.mapOptional (" Superclass" , ATD.Superclass );
607
605
io.mapOptional (" DefaultDefinition" , ATD.DefaultDefinition );
608
606
io.mapOptional (" Attributes" , ATD.Attributes ,
609
607
::swift::sma::DeclAttributes ());
@@ -844,7 +842,6 @@ class SMAModelGenerator : public DeclVisitor<SMAModelGenerator> {
844
842
void visitAssociatedTypeDecl (AssociatedTypeDecl *ATD) {
845
843
auto ResultATD = std::make_shared<sma::AssociatedTypeDecl>();
846
844
ResultATD->Name = convertToIdentifier (ATD->getName ());
847
- ResultATD->Superclass = convertToOptionalTypeName (ATD->getSuperclass ());
848
845
ResultATD->DefaultDefinition =
849
846
convertToOptionalTypeName (ATD->getDefaultDefinitionType ());
850
847
// FIXME
0 commit comments