mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user