Move Value, Address, and ElementPath to ast/. (#2659)

These are used by the AST in lots of ways, and this resolves various layering issues.

This means that `AllocationId` also lives in ast/, but is managed by interpreter/. A better layering here would be desirable, but this seems good enough for the time being.
This commit is contained in:
Richard Smith authored and GitHub committed 2023-03-06 16:28:03 -08:00
1 parent 2717dc1097
commit bfe5c36bfc
27 files changed
+69 -99

No files matched your search

+1 -1
View File
@@ -12,8 +12,8 @@
#include "explorer/ast/bindings.h"
#include "explorer/ast/declaration.h"
#include "explorer/ast/expression.h"
#include "explorer/ast/value.h"
#include "explorer/common/arena.h"
#include "explorer/interpreter/value.h"
#include "llvm/Support/Casting.h"
namespace Carbon::Testing {