mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
That is, the stubs we generate when you rename a C global function imported as a type member using the SwiftName API note. (See the test case changes.) Previously we hit an assertion. For good measure, also fix versioned stubs for types-as-members, which were always added to their original context rather than the new context. rdar://problem/31435658
30 lines
861 B
Plaintext
30 lines
861 B
Plaintext
Name: ImportAsMember
|
|
Globals:
|
|
- Name: IAMStruct1APINoteVar
|
|
SwiftName: Struct1.newApiNoteVar
|
|
- Name: IAMStruct1APINoteVarInSwift4
|
|
SwiftName: Struct1.apiNoteVarInSwift4
|
|
Functions:
|
|
- Name: IAMStruct1APINoteFunction
|
|
SwiftName: "Struct1.newApiNoteMethod()"
|
|
- Name: IAMStruct1APINoteCreateFunction
|
|
SwiftName: "Struct1.init(newLabel:)"
|
|
Typedefs:
|
|
- Name: IAMStruct1APINoteType
|
|
SwiftName: Struct1.NewApiNoteType
|
|
SwiftVersions:
|
|
- Version: 3
|
|
Globals:
|
|
- Name: IAMStruct1APINoteVar
|
|
SwiftName: Struct1.oldApiNoteVar
|
|
- Name: IAMStruct1APINoteVarInSwift4
|
|
SwiftName: IAMStruct1APINoteVarInSwift4
|
|
Functions:
|
|
- Name: IAMStruct1APINoteFunction
|
|
SwiftName: "Struct1.oldApiNoteMethod()"
|
|
- Name: IAMStruct1APINoteCreateFunction
|
|
SwiftName: "Struct1.init(oldLabel:)"
|
|
Typedefs:
|
|
- Name: IAMStruct1APINoteType
|
|
SwiftName: Struct1.OldApiNoteType
|