Skip to content

[5.6] [SymbolGraphGen] don't emit access control attributes in declarations #41017

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

franklinsch
Copy link
Contributor

Cherry-pick of #40696.

Explanation: Resolves an issue in SymbolGraphGen where access-level information was found to have been preserved in AccessControl attributes, which caused declarations in the symbol graph to start printing access modifiers when they previously had not.

Scope: Small. The change is restricted to SymbolGraphGen.

Issue: rdar://85280786

Risk: Low.

Testing: Unit tests have been updated to cover the behaviour.

@franklinsch franklinsch requested a review from a team as a code owner January 26, 2022 09:17
@franklinsch
Copy link
Contributor Author

@swift-ci Please test

@franklinsch
Copy link
Contributor Author

@swift-ci Please test source compatibility

@franklinsch
Copy link
Contributor Author

@swift-ci Please Test Source Compatibility Debug

1 similar comment
@franklinsch
Copy link
Contributor Author

@swift-ci Please Test Source Compatibility Debug

@shahmishal
Copy link
Member

@swift-ci Please Test Source Compatibility

@franklinsch franklinsch merged commit 6e74363 into swiftlang:release/5.6 Jan 27, 2022
@franklinsch franklinsch deleted the access-control-attributes branch January 27, 2022 10:10
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.

4 participants