mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 14:01:06 +01:00
Rename Parse::Node -> Parse::NodeId. (#3432)
As discussed [on discord](https://discord.com/channels/655572317891461132/655578254970716160/1178878128714678282) and today's toolchain discussion.
This commit is contained in:
@@ -21,7 +21,8 @@ static auto HandleDiscardedExpr(Context& context, SemIR::InstId expr_id)
|
||||
// TODO: This will eventually need to do some "do not discard" analysis.
|
||||
}
|
||||
|
||||
auto HandleExprStatement(Context& context, Parse::Node /*parse_node*/) -> bool {
|
||||
auto HandleExprStatement(Context& context, Parse::NodeId /*parse_node*/)
|
||||
-> bool {
|
||||
HandleDiscardedExpr(context, context.node_stack().PopExpr());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user