Skip to content

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Mar 12, 2025

ASTDumper now has the ability to dump attributes in the usual S-expression format, but DeclAttribute::dump() and DeclAttributes::dump() are still using the printing infrastructure. Use ASTDumper for these functions instead to provide a more “raw” view of the attributes.

Extracted from #79466, but not critical for its functionality.

ASTDumper now has the ability to dump attributes in the usual S-expression format, but `DeclAttribute::dump()` and `DeclAttributes::dump()` are still using the printing infrastructure. Use ASTDumper for these functions instead to provide a more “raw” view of the attributes.
@beccadax beccadax force-pushed the these-attributes-are-a-dump branch from 95f1e9b to 11e2461 Compare March 12, 2025 22:27
@beccadax beccadax marked this pull request as ready for review March 12, 2025 22:27
@beccadax beccadax requested a review from allevato March 12, 2025 22:28
@beccadax
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Member

@allevato allevato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@beccadax beccadax merged commit f6c9177 into swiftlang:main Mar 13, 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