diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-08-07 10:16:24 +0000 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-09 08:33:02 +0000 |
commit | ffeb37619e17e54efdbe4032546a270ee4f04ee5 (patch) | |
tree | 17400228b24e4c4ebb6b7052a1cc6f9528d5236a /gcc/tree.h | |
parent | b3dd18c0ef3009c32f5efd485de0221e969538c7 (diff) | |
download | gcc-ffeb37619e17e54efdbe4032546a270ee4f04ee5.zip gcc-ffeb37619e17e54efdbe4032546a270ee4f04ee5.tar.gz gcc-ffeb37619e17e54efdbe4032546a270ee4f04ee5.tar.bz2 |
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/tree.h')
0 files changed, 0 insertions, 0 deletions