@@ -480,17 +480,13 @@ class alignas(1 << DeclAlignInBits) Decl {
480
480
IsDebuggerAlias : 1
481
481
);
482
482
483
- SWIFT_INLINE_BITFIELD (NominalTypeDecl, GenericTypeDecl, 1 +1 + 1 ,
483
+ SWIFT_INLINE_BITFIELD (NominalTypeDecl, GenericTypeDecl, 1 +1 ,
484
484
// / Whether we have already added implicitly-defined initializers
485
485
// / to this declaration.
486
486
AddedImplicitInitializers : 1 ,
487
487
488
488
// / Whether there is are lazily-loaded conformances for this nominal type.
489
- HasLazyConformances : 1 ,
490
-
491
- // / Whether we have already validated all members of the type that
492
- // / affect layout.
493
- HasValidatedLayout : 1
489
+ HasLazyConformances : 1
494
490
);
495
491
496
492
SWIFT_INLINE_BITFIELD_FULL (ProtocolDecl, NominalTypeDecl, 1 +1 +1 +1 +1 +1 +1 +1 +2 +8 +16 ,
@@ -3036,7 +3032,6 @@ class NominalTypeDecl : public GenericTypeDecl, public IterableDeclContext {
3036
3032
Bits.NominalTypeDecl .AddedImplicitInitializers = false ;
3037
3033
ExtensionGeneration = 0 ;
3038
3034
Bits.NominalTypeDecl .HasLazyConformances = false ;
3039
- Bits.NominalTypeDecl .HasValidatedLayout = false ;
3040
3035
}
3041
3036
3042
3037
friend class ProtocolType ;
@@ -3074,18 +3069,6 @@ class NominalTypeDecl : public GenericTypeDecl, public IterableDeclContext {
3074
3069
Bits.NominalTypeDecl .AddedImplicitInitializers = true ;
3075
3070
}
3076
3071
3077
- // / Determine whether we have already validated any members
3078
- // / which affect layout.
3079
- bool hasValidatedLayout () const {
3080
- return Bits.NominalTypeDecl .HasValidatedLayout ;
3081
- }
3082
-
3083
- // / Note that we have attempted to validate any members
3084
- // / which affect layout.
3085
- void setHasValidatedLayout () {
3086
- Bits.NominalTypeDecl .HasValidatedLayout = true ;
3087
- }
3088
-
3089
3072
// / Set the interface type of this nominal type to the metatype of the
3090
3073
// / declared interface type.
3091
3074
void computeType ();
0 commit comments