Skip to content

[ClangImporter] NFC: extract Swift decl synthesis logic into a separate file #59530

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
merged 1 commit into from
Jun 17, 2022

Conversation

egorzhdan
Copy link
Contributor

ImportDecl.cpp contained 10k+ lines of code, which caused slowdowns in incremental compilation and while editing the code in the IDE.

This change extracts a chunk of largely self-contained decl synthesis logic into a separate file.

…te file

`ImportDecl.cpp` contained 10k+ lines of code, which caused slowdowns in incremental compilation and while editing the code in the IDE.

This change extracts a chunk of largely self-contained decl synthesis logic into a separate file.
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Jun 17, 2022
@egorzhdan egorzhdan requested review from hyp and zoecarver June 17, 2022 15:55
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@hyp
Copy link
Contributor

hyp commented Jun 17, 2022

Love the cleanup, this looks great!

Copy link
Contributor

@zoecarver zoecarver left a comment

Choose a reason for hiding this comment

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

Awesome! I've been wanting to do this for a while. Super helpful cleanup. This will improve compile times, ide functions, etc.

Feel free to land this kind of patch without approval in the future! Thanks again!

@egorzhdan egorzhdan merged commit 22f90f6 into main Jun 17, 2022
@egorzhdan egorzhdan deleted the egorzhdan/clangimporter-synthesizer-nfc branch June 17, 2022 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants