aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.h
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-08-07 10:58:17 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:09 +0100
commit11b808ba788834072539a4aca6d64144243e5d46 (patch)
tree67f4ece3007642c3a7f8c2bb59c3d64ba16c430f /gcc/rust/resolve/rust-ast-resolve-path.h
parent03fd4851cd271ab08089db7d4da68bed30ed3fdd (diff)
downloadgcc-11b808ba788834072539a4aca6d64144243e5d46.zip
gcc-11b808ba788834072539a4aca6d64144243e5d46.tar.gz
gcc-11b808ba788834072539a4aca6d64144243e5d46.tar.bz2
gccrs: Strong type BasicBlockId
gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-expr-stmt.cc (ExprStmtBuilder::visit): Use value of BasicBlockId as index. * checks/errors/borrowck/rust-bir-builder-internal.h (struct BuilderContext): Likewise. * checks/errors/borrowck/rust-bir-builder-lazyboolexpr.h: Initialize with ENTRY_BASIC_BLOCK. * checks/errors/borrowck/rust-bir-dump.cc (simplify_cfg): Use value of BasicBlockId as index. (Dump::go): Likewise. (Dump::visit): Likewise. * checks/errors/borrowck/rust-bir-fact-collector.h (class FactCollector): Initialize with ENTRY_BASIC_BLOCK. (points): Use value of BasicBlockId as index. * checks/errors/borrowck/rust-bir.h (struct BasicBlockId): BasicBlockId is a struct now. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.h')
0 files changed, 0 insertions, 0 deletions