Rename StateStackEntry to State (#5256)

Also clean up `State` -> `StateKind` in the toolchain docs, which was
missed in #5249.
This commit is contained in:
Geoff Romer
2025-04-07 18:58:41 +00:00
committed by GitHub
parent a45dc42d82
commit 87f0e9723f
10 changed files with 45 additions and 53 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ auto HandleOnlyParenExpr(Context& context) -> void {
context.PushState(StateKind::Expr);
}
static auto FinishParenExpr(Context& context,
const Context::StateStackEntry& state) -> void {
static auto FinishParenExpr(Context& context, const Context::State& state)
-> void {
context.AddNode(NodeKind::ParenExpr, context.Consume(), state.has_error);
}