Files
Patryk Stefanski c239cbb2f2 [cxx-interop] Import typedefs aliasing NS_OPTIONS/CF_OPTIONS types as the option set
In C++ interop the `CF_OPTIONS`/`NS_OPTIONS` macro expands to a
Swift-unavailable typedef paired with an anonymous flag_enum that Swift
imports as an option set struct named after the typedef.

`findOptionSetEnum()` now follows the typedef alias chain down to that
underlying Swift-unavailable typedef, so every use of an alias is
imported as the option set struct rather than the underlying integer
type.

`VisitTypedefNameDecl()` now maps such an alias to the option set struct
so its imported typealias points at the option set instead of the
underlying integer type.

rdar://180317577
2026-07-14 15:08:04 -07:00
..
…