mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the Clang declrations are *types*, canonical declaration in Swift is
imported for newest version of Swift. In interface generation, if the
declaration is versioned and it's imported as a member in either or both
version of Swift, we have to take compatibility typealias into account.
* Fixed 'ClangModuleUnit::getTopLevelDecls' to take isCompatibilityAlias() into account
* Fixed bugs in ClangImporter where member-to-member versioned types aren't properly imported.
* Fixed 'SwiftDeclConverter::importFullName' to check equality of getEffectiveContext()
* Fixed 'importer::addEntryToLookupTable' to check equality of getEffectiveContext()
(moved 'ClangImporter::Implementation::forEachDistinctName' to 'NameImporter')
15 lines
234 B
Plaintext
15 lines
234 B
Plaintext
Name: M
|
|
Classes:
|
|
- Name: FooID
|
|
SwiftName: Foo_ID
|
|
- Name: BarSub
|
|
SwiftName: BarContainerCanonical.Sub
|
|
|
|
SwiftVersions:
|
|
- Version: 4
|
|
Classes:
|
|
- Name: FooID
|
|
SwiftName: FooID
|
|
- Name: BarSub
|
|
SwiftName: BarContainerOld.Sub
|