mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[cxx-interop] Import enum, not typedef for parameter types.
Lookup the "anonymous" enum when importing parameter types rather than using the typedef's underlying type.
This commit is contained in:
@@ -53,3 +53,6 @@
|
||||
// CHECK: @available(swift, obsoleted: 3, renamed: "all")
|
||||
// CHECK: static var All: CFColorMask { get }
|
||||
// CHECK: }
|
||||
|
||||
// CHECK: func useSOColorMask(_ mask: SOColorMask) -> SOColorMask
|
||||
// CHECK: func useCFColorMask(_ mask: CFColorMask) -> CFColorMask
|
||||
|
||||
Reference in New Issue
Block a user