Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cxx-interop] Ensure that C++ structs are fully defined #77247

Merged
merged 1 commit into from
Oct 28, 2024

Commits on Oct 28, 2024

  1. [cxx-interop] Ensure that C++ structs are fully defined

    Swift should never try to import C++ structs that are not fully defined. This is because Clang can't synthesize implicit members of such types, which might be necessary for Swift, e.g. a copy constructor.
    
    This adds an assertion that makes sure that C++ structs are considered to be fully defined by Clang. This condition should already be satisfied.
    egorzhdan committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    81c7fb0 View commit details
    Browse the repository at this point in the history