Skip to content
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

Refactor value store code to use separate files. #4477

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

chandlerc
Copy link
Contributor

This is in anticipation of making the integer value store be customized heavily. I'd like to extract it from the common code when doing that, so first disentangling them here without any intended change in functionality or behavior to enable that.

I've tried to update #includes to be as minimal as I can and added a few missing includes spotted in the process.

I've split the test for value store to include what was easy focused on just the value store templates rather than the unified shared value stores.

This might surface some opportunities for adding more tests, but for this PR, just doing the minimal restructuring.

This is in anticipation of making the integer value store be customized
heavily. I'd like to extract it from the common code when doing that, so
first disentangling them here without any intended change in
functionality or behavior to enable that.

I've tried to update `#include`s to be as minimal as I can and added
a few missing includes spotted in the process.

I've split the test for value store to include what was easy focused on
just the value store templates rather than the unified shared value
stores.

This might surface some opportunities for adding more tests, but for
this PR, just doing the minimal restructuring.
@zygoloid zygoloid added this pull request to the merge queue Nov 4, 2024
Merged via the queue into carbon-language:trunk with commit 4148161 Nov 4, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants