swift
1a70684c - [cxx-interop] Fix "Failed to reconstruct type" assertion for `NS_OPTIONS` types

Commit
44 days ago
[cxx-interop] Fix "Failed to reconstruct type" assertion for `NS_OPTIONS` types This fixes the following assertion failure when building with debug info: ``` Abort: function getMangledName at IRGenDebugInfo.cpp:1098 Failed to reconstruct type for $sSo20NSDataWritingOptionsVmD ``` This assertion started triggering after d4869193, which enabled stricter coherency checks for types imported from C++. `NS_OPTIONS` types are special in C++, because the `NS_OPTIONS`/`CF_OPTIONS` macro has a different expansion in C++ language mode. rdar://172418942
Author
Committer
Parents
Loading