@@ -238,9 +238,6 @@ static void collectVisibleMemberDecls(const DeclContext *CurrDC, LookupState LS,
238
238
}
239
239
}
240
240
241
- static void
242
- synthesizePropertyWrapperVariables (IterableDeclContext *IDC);
243
-
244
241
// / Lookup members in extensions of \p LookupType, using \p BaseType as the
245
242
// / underlying type when checking any constraints on the extensions.
246
243
static void doGlobalExtensionLookup (Type BaseType,
@@ -568,22 +565,6 @@ static void
568
565
getReasonForSuper (Reason), Sig, Visited);
569
566
}
570
567
571
- // Generate '$' and '_' prefixed variables for members that have attached property
572
- // wrappers.
573
- static void
574
- synthesizePropertyWrapperVariables (IterableDeclContext *IDC) {
575
- auto SF = IDC->getAsGenericContext ()->getParentSourceFile ();
576
- if (!SF || SF->Kind == SourceFileKind::Interface)
577
- return ;
578
-
579
- for (auto Member : IDC->getMembers ())
580
- if (auto var = dyn_cast<VarDecl>(Member))
581
- if (var->hasAttachedPropertyWrapper ()) {
582
- (void )var->getPropertyWrapperAuxiliaryVariables ();
583
- (void )var->getPropertyWrapperInitializerInfo ();
584
- }
585
- }
586
-
587
568
static void lookupVisibleMemberDeclsImpl (
588
569
Type BaseTy, VisibleDeclConsumer &Consumer, const DeclContext *CurrDC,
589
570
LookupState LS, DeclVisibilityKind Reason, GenericSignature Sig,
0 commit comments