Skip to content

[5.9] [SymbolGraphGen] move "protocol implementations" check into isImplicitlyPrivate #64940

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

Conversation

QuietMisdreavus
Copy link
Contributor

Cherry-pick of #64867

  • Explanation: -skip-protocol-implementations doesn't properly drop all the relationships to those skipped symbols, including protocols added via an extension.
  • Scope: Affects symbol graphs generated with -skip-protocol-implementations.
  • Issue: rdar://107432084
  • Risk: Low. The code change only affects symbol graphs with the above flag, and shouldn't affect normal compilation.
  • Testing: Testing has been added to ensure that the kinds of relationships that were previously erroneously included are now dropped.
  • Reviewer: @daniel-grumberg

@QuietMisdreavus QuietMisdreavus requested a review from a team as a code owner April 5, 2023 17:10
@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

@QuietMisdreavus QuietMisdreavus merged commit 3ded9c0 into release/5.9 Apr 14, 2023
@QuietMisdreavus QuietMisdreavus deleted the QuietMisdreavus/5.9/skip-protocol-extensions branch April 14, 2023 21:08
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants