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
+1 -1
View File
@@ -77,7 +77,7 @@ auto HandleStructLiteral(Context& context, Parse::Node parse_node) -> bool {
auto type_id = context.CanonicalizeStructType(parse_node, type_block_id);
auto value_id = context.AddNode(
SemIR::Node::StructValue::Make(parse_node, type_id, refs_id));
SemIR::Node::StructLiteral::Make(parse_node, type_id, refs_id));
context.node_stack().Push(parse_node, value_id);
return true;
}