Skip to content

Conversation

QuietMisdreavus
Copy link
Contributor

Resolves rdar://77205889

When emitting sourceOrigin fields for synthesized symbols, the current implementation looks for decls that have docs. However, if the upstream symbol doesn't have docs to inherit, it currently skips adding the sourceOrigin field. This PR changes that behavior to always include the field for synthesized symbols, even if the upstream implementation doesn't have a doc comment to inherit.

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please build toolchain macOS platform

@swift-ci
Copy link
Contributor

swift-ci commented May 4, 2021

macOS Toolchain
Download Toolchain
Git Sha - d81d5d5

Install command
tar -zxf swift-PR-37248-963-osx.tar.gz --directory ~/

@QuietMisdreavus QuietMisdreavus merged commit 4b068ac into main May 7, 2021
@QuietMisdreavus QuietMisdreavus deleted the QuietMisdreavus/synthesized-sourceOrigin branch May 7, 2021 16:20
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