[Serialization] Serialize the isUserAccessible bit on functions

rdar://problem/53891642
SR-7460
This commit is contained in:
Alexis Laferrière
2020-08-14 09:50:31 -07:00
parent aa5195aa89
commit f523c88754
5 changed files with 28 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 569; // subclass scope
const uint16_t SWIFTMODULE_VERSION_MINOR = 570; // isUserAccessible
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1307,6 +1307,7 @@ namespace decls_block {
AccessLevelField, // access level
BCFixed<1>, // requires a new vtable slot
DeclIDField, // opaque result type decl
BCFixed<1>, // isUserAccessible?
BCArray<IdentifierIDField> // name components,
// followed by TypeID dependencies
// The record is trailed by: