Skip to content

[5.6][SymbolGraph] don't filter out all implicit decls #41167

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

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

QuietMisdreavus
Copy link
Contributor

Cherry-pick of #41141

Explanation: Implicitly-generated initializers are not present in symbol graphs, even when the -minimum-access-level is set to internal. Other sources of symbol information, like SourceKit, properly show these initializers, so their absence in symbol graphs is an issue.

Scope: Only affects users of SymbolGraphGen who request symbol graphs with internal access or below.

Issue: rdar://86294494

Risk: Low. This change is limited to SymbolGraphGen, and does not affect normal compilation.

Testing: A new lit test, SymbolGraph/Symbols/Implicit, was added to verify the new behavior.

@QuietMisdreavus QuietMisdreavus requested a review from a team February 2, 2022 23:15
@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

@franklinsch franklinsch merged commit fb033ce into release/5.6 Feb 4, 2022
@franklinsch franklinsch deleted the QuietMisdreavus/5.6/symgraph-synth-init branch February 4, 2022 10:04
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.

3 participants