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
+1 -2
View File
@@ -20,8 +20,7 @@ auto HandleBraceExpr(Context& context) -> void {
}
// Prints a diagnostic for brace expression syntax errors.
static auto HandleBraceExprParamError(Context& context,
Context::StateStackEntry state,
static auto HandleBraceExprParamError(Context& context, Context::State state,
StateKind param_finish_state_kind)
-> void {
Diagnostics::IntAsSelect mode(0);