[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:
zoecarver
2022-04-18 13:15:41 -07:00
parent 965c7ca443
commit e6af2d9b49
5 changed files with 98 additions and 26 deletions

View File

@@ -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