mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously enum AccessLimitKind was added to distinguish access scopes b/t package and public while keeping DeclContext null but it proved to be too limiting. This PR creates package specific entries for DeclContext and ASTHierarchy. It create a new class PackageUnit that can be set as the parent DeclContext of ModuleDecl. This PR contains addition of such entries but not the use of them; the actual use of them will be in the upcoming PRs. Resolves rdar://106155600
135 KiB
135 KiB