[tint][wgsl] Split CloneContext into two
Split into ast::CloneContext and program::CloneContext
program::CloneContext wraps the ast::CloneContext.
The purpose of this is to break the cyclic dependency between AST <->
Program.
Change-Id: If52962b074c862cf681ca8367f2ed2bf8478c3dd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/143386
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
diff --git a/src/tint/lang/wgsl/ast/variable.h b/src/tint/lang/wgsl/ast/variable.h
index 58a214e..938ccf9 100644
--- a/src/tint/lang/wgsl/ast/variable.h
+++ b/src/tint/lang/wgsl/ast/variable.h
@@ -24,6 +24,7 @@
#include "src/tint/lang/wgsl/ast/binding_attribute.h"
#include "src/tint/lang/wgsl/ast/expression.h"
#include "src/tint/lang/wgsl/ast/group_attribute.h"
+#include "src/tint/lang/wgsl/ast/node.h"
#include "src/tint/lang/wgsl/ast/type.h"
// Forward declarations