@@ -694,7 +694,7 @@ class alignas(1 << DeclAlignInBits) Decl : public ASTAllocated<Decl> {
694694 HasAnyUnavailableDuringLoweringValues : 1
695695 );
696696
697- SWIFT_INLINE_BITFIELD (ModuleDecl, TypeDecl, 1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 ,
697+ SWIFT_INLINE_BITFIELD (ModuleDecl, TypeDecl, 1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 + 1 ,
698698 // / If the module is compiled as static library.
699699 StaticLibrary : 1 ,
700700
@@ -750,7 +750,10 @@ class alignas(1 << DeclAlignInBits) Decl : public ASTAllocated<Decl> {
750750 ObjCNameLookupCachePopulated : 1 ,
751751
752752 // / Whether this module has been built with C++ interoperability enabled.
753- HasCxxInteroperability : 1
753+ HasCxxInteroperability : 1 ,
754+
755+ // / Whether this module has been built with -experimental-allow-non-resilient-access.
756+ AllowNonResilientAccess : 1
754757 );
755758
756759 SWIFT_INLINE_BITFIELD (PrecedenceGroupDecl, Decl, 1 +2 ,
@@ -2931,9 +2934,9 @@ class ValueDecl : public Decl {
29312934 // / if the base declaration is \c open, the override might have to be too.
29322935 bool hasOpenAccess (const DeclContext *useDC) const ;
29332936
2934- // / True if opted in for bypassing resilience within a package. Allowed only on
2935- // / access from the \p accessingModule to a package decl in the defining
2936- // / binary (not interface) module within the same package.
2937+ // / True if opted in to bypass a resilience check at the use site in the
2938+ // / \p accessingModule that references decls defined in a module
2939+ // / that allows non-resilient access within the same package.
29372940 bool bypassResilienceInPackage (ModuleDecl *accessingModule) const ;
29382941
29392942 // / FIXME: This is deprecated.
0 commit comments