Skip to content

[ASTPrinter] Print SPI by default #78838

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

rintaro
Copy link
Member

@rintaro rintaro commented Jan 23, 2025

PrintOptions.InterfaceContentKind was not initialized. Set it to InteraceMode::Private by default, so SPI declarations and their @_spi attribues are printed. This basically restores the behavior before
aba3b6c , and is align with AccessFilter being AccessLevel::Private by default.

rdar://131726756

`PrintOptions.InterfaceContentKind` was not initialized. Set it to
`InteraceMode::Private` by default, so SPI declarations and their `@_spi`
attribues are printed. This basically restores the behavior before
aba3b6c , and is align with
`AccessFilter` being `AccessLevel::Private` by default.

rdar://131726756
@rintaro
Copy link
Member Author

rintaro commented Jan 23, 2025

@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Jan 23, 2025

@swift-ci Please smoke test Linux

@rintaro
Copy link
Member Author

rintaro commented Jan 23, 2025

@swift-ci Please smoke test macOS

@rintaro rintaro enabled auto-merge January 23, 2025 17:42
@rintaro rintaro merged commit 740f0b2 into swiftlang:main Jan 23, 2025
3 checks passed
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.

2 participants