Rename {Tuple,Struct}Value -> {Tuple,Struct}Literal. (#3213)

This better reflects the purpose of these semantics nodes, and prepares
for adding TupleValue and TupleInit nodes to represent forming values
and initializers from literals.
This commit is contained in:
Richard Smith
2023-09-12 21:48:15 +00:00
committed by GitHub
parent 7dc1d627d7
commit 7d0f7b5e8f
63 changed files with 148 additions and 145 deletions
@@ -27,10 +27,10 @@ fn Deref(n: i32) {
// CHECK:STDOUT: !entry:
// CHECK:STDOUT: %.loc11: ref <error> = dereference %n
// CHECK:STDOUT: %.loc15_5.1: type = tuple_type ()
// CHECK:STDOUT: %.loc15_5.2: () = tuple_value ()
// CHECK:STDOUT: %.loc15_5.2: () = tuple_literal ()
// CHECK:STDOUT: %.loc15_3: ref <error> = dereference %.loc15_5.2
// CHECK:STDOUT: %.loc19_5.1: type = struct_type {}
// CHECK:STDOUT: %.loc19_5.2: {} = struct_value ()
// CHECK:STDOUT: %.loc19_5.2: {} = struct_literal ()
// CHECK:STDOUT: %.loc19_3: ref <error> = dereference %.loc19_5.2
// CHECK:STDOUT: return
// CHECK:STDOUT: }