Skip to content

Conversation

@hnrklssn
Copy link
Member

These are pure refactors in preparation for adding @_SwiftifyImportProtocol support to ClangImporter.
The core of swiftify() is extracted to swiftifyImpl(), and they (along with accompanying helpers) are both moved to the new file lib/ClangImporter/SwiftifyDecl.cpp.

This is a pure refactor to make it easier to follow the upcoming
addition of swiftifyProtocol.
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

This will make it more straightforward to later templatize it.
This code doesn't interact that much with the rest of ClangImporter, and
will continue to grow. Keeping it in a separate file makes it easier to
navigate.
@hnrklssn hnrklssn force-pushed the refactor-swiftify-decl branch from a156288 to e0f6a44 Compare October 24, 2025 03:37
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

Now that swiftify related functions have their own file there's no need
to use DEBUG_WITH_TYPE explicitly anymore.
@hnrklssn hnrklssn force-pushed the refactor-swiftify-decl branch from e0f6a44 to 722afef Compare October 24, 2025 06:59
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn hnrklssn merged commit aa7c250 into swiftlang:main Oct 24, 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