aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-07 10:16:24 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:09 +0100
commit03fd4851cd271ab08089db7d4da68bed30ed3fdd (patch)
tree19bd4dcc7ef4dce0732557709cbb4dab50d17ce3 /gcc/rust/resolve
parent9104447577afbbd3229d353cf48e46eb105cd130 (diff)
downloadgcc-03fd4851cd271ab08089db7d4da68bed30ed3fdd.zip
gcc-03fd4851cd271ab08089db7d4da68bed30ed3fdd.tar.gz
gcc-03fd4851cd271ab08089db7d4da68bed30ed3fdd.tar.bz2
gccrs: Strong type ScopeId
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-expr-stmt.cc (ExprStmtBuilder::setup_loop): Use value of ScopeId. (ExprStmtBuilder::visit): Use continue scope id instead of continue basic block id. * checks/errors/borrowck/rust-bir-builder-internal.h: Use value of ScopeId. * checks/errors/borrowck/rust-bir-dump.cc (Dump::go): Use ROOT_VALUE instead of hardcoded 0. (Dump::visit_scope): Use value of ScopeId. * checks/errors/borrowck/rust-bir-place.h (struct ScopeId): ScopeId is now a struct. (std::numeric_limits::max): Set invalid ScopeId. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions