Skip to content

[4.0 Jun23] [ClangImporter] Filter import-as-member decls by preferred submodule. #10626

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

Conversation

jrose-apple
Copy link
Contributor

#10625, but for the recent branch offshoot since it affects the SDKs. Reviewed by @DougGregor.

…swiftlang#10612)

That is, if a member is redeclarable, use the module of the definition
if possible, and the canonical declaration otherwise. This is
consistent with what we do when we actually import the declaration.
Without this, we can end up dropping declarations.

rdar://problem/32816381
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@jrose-apple jrose-apple merged commit e5e40e5 into swiftlang:swift-4.0-branch-06-23-2017 Jun 28, 2017
@jrose-apple jrose-apple deleted the 4.0-branch-import-as-member-submodule-check branch June 28, 2017 00:38
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