Skip to content
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

Make emission of extension block symbols a formal feature #61637

Conversation

theMomax
Copy link
Contributor

@theMomax theMomax commented Oct 19, 2022

This PR is a follow up to #59047 and #61406.

This PR adds the -omit-extension-block-symbols flag for explicitly disabling the emission of swift.extension symbols in symbol graph files. Furthermore, it adds the emission of extension block symbols to the feature list lib/Option/features.json as requested by @d-ronnqvist .

The -omit-extension-block-symbols has no effect yet (except for overriding preceding -emit-extension-block-symbols flags), as this PR does not change the default behavior.

This PR finally fixes apple/swift-docc#210.

#61406 and apple/swift-driver#1205 should before/with this PR.

 - add name to lib/Option/features.json
 - add flag for explicitly disabling extension block symbols feature
@daniel-grumberg
Copy link
Contributor

LGTM!

@daniel-grumberg
Copy link
Contributor

@swift-ci please test

@theMomax
Copy link
Contributor Author

Thanks for reviewing @daniel-grumberg! This can be merged now.

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.

[SR-15410] Can't document extensions with DocC
3 participants