@@ -2700,8 +2700,6 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
2700
2700
checkEnumRawValues (TC, ED);
2701
2701
}
2702
2702
2703
- ED->getAllConformances ();
2704
-
2705
2703
TC.checkDeclCircularity (ED);
2706
2704
TC.ConformanceContexts .push_back (ED);
2707
2705
}
@@ -2725,8 +2723,6 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
2725
2723
2726
2724
checkAccessControl (TC, SD);
2727
2725
2728
- SD->getAllConformances ();
2729
-
2730
2726
TC.checkDeclCircularity (SD);
2731
2727
TC.ConformanceContexts .push_back (SD);
2732
2728
}
@@ -2941,8 +2937,6 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
2941
2937
}
2942
2938
}
2943
2939
2944
- CD->getAllConformances ();
2945
-
2946
2940
TC.checkDeclAttributes (CD);
2947
2941
2948
2942
checkInheritanceClause (CD);
@@ -3169,13 +3163,6 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
3169
3163
TC.checkDeclAttributes (ED);
3170
3164
3171
3165
checkAccessControl (TC, ED);
3172
-
3173
- // Trigger the creation of all of the conformances associated with this
3174
- // nominal type.
3175
- // FIXME: This is a hack to make sure that the type checker precomputes
3176
- // enough information for later passes that might query conformances.
3177
- if (auto nominal = ED->getExtendedNominal ())
3178
- (void ) nominal->getAllConformances ();
3179
3166
}
3180
3167
3181
3168
void visitTopLevelCodeDecl (TopLevelCodeDecl *TLCD) {
0 commit comments