Refactor value store code to use separate files. (#4477)

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.
This commit is contained in:
Chandler Carruth
2024-11-04 04:00:17 +00:00
committed by GitHub
parent 1b2eb42c5a
commit 4148161e24
40 changed files with 400 additions and 299 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/check.h"
#include "llvm/ADT/StringRef.h"
#include "testing/fuzzing/libfuzzer.h"
#include "toolchain/base/value_store.h"
#include "toolchain/base/shared_value_stores.h"
#include "toolchain/diagnostics/null_diagnostics.h"
#include "toolchain/lex/lex.h"