Skip to content

Conversation

@DougGregor
Copy link
Member

When deserializing an underlying Clang-imported declaration, ignore small differences in the type matching where it doesn't affect the type in C itself, such as nullability or sendability. This prevents these minor differences from causing SIL deserialization failures where they don't have to.

Fixes the rest of rdar://137014448.

@DougGregor
Copy link
Member Author

This PR is stacked on #85203, and only the latest commit is new.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

1 similar comment
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor force-pushed the clang-deserialization-near-miss branch from e892bfc to 1bae4da Compare November 2, 2025 16:35
@DougGregor
Copy link
Member Author

Force-pushed now that the other PR merged

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test Windows

@DougGregor
Copy link
Member Author

@swift-ci please smoke test Windows

@DougGregor DougGregor merged commit 73b03ed into swiftlang:main Nov 3, 2025
5 checks passed
@DougGregor DougGregor deleted the clang-deserialization-near-miss branch November 3, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant