Skip to content

[region-isolation] Shrink PartitionUtils.h by moving large functions to cpp file. #72572

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

Conversation

gottesmm
Copy link
Contributor

Just making PartitionUtils.h a little easier to walk through by moving more of the impl into the .cpp file. This reduces the header from ~1500 lines to ~950 lines which is more managable. This is especially important since I am going to be adding IsolationHistory to the header file which will expand it even further.


I am upstreaming this now since I found that this helped me with IsolationHistory (and my branch is based on it), but I need to fix other bugs that are going to also touch this same code, so it makes sense to just upstream the NFC work to prevent rebase issues.

…to cpp file.

Just making PartitionUtils.h a little easier to walk through by moving more of
the impl into the .cpp file. This reduces the header from ~1500 lines to ~950
lines which is more managable. This is especially important since I am going
to be adding IsolationHistory to the header file which will expand it even
further.
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm gottesmm enabled auto-merge March 25, 2024 21:16
@gottesmm gottesmm merged commit 0b13da8 into swiftlang:main Mar 26, 2024
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.

1 participant