Commit Graph

2 Commits

Author SHA1 Message Date
Erik Eckstein
34a68736ac tests: fix Interop/Cxx/objc-correctness/appkit-uikit.swift for iOS 2025-01-20 15:24:19 +01:00
Cassie Jones
7323a752b6 [cxx-interop] Workaround compiler error when importing AppKit/UIKit with C++ interop
The AppKit/UIKit overlay refers to symbols declared via NS_OPTIONS
macro, which is causing issues in C++ language mode due to the macro
definition being different. This teaches the module interface loader to
drop the C++ interop flag when rebuilding the AppKit and UIKit overlay
from its interface.

This is the same fix as #78636, but for different modules.

rdar://143033209
2025-01-16 15:19:23 -08:00