gccrs: nr2.0: Store mappings in NameResolutionContext
commitcb3a12f3ee26de1f51d9c900d4056fc4bcf6974f
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 22 Aug 2023 13:40:25 +0000 (22 15:40 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:45 +0000 (30 12:36 +0100)
tree49cfe596eb3dfe251a95c5fe2ed3a60bc59649a0
parent1ee01fd1572b46324c72d2380bedc58dfddd469d
gccrs: nr2.0: Store mappings in NameResolutionContext

gcc/rust/ChangeLog:

* resolve/rust-name-resolution-context.h: Store a reference to the
mappings.
* resolve/rust-name-resolution-context.cc
(NameResolutionContext::NameResolutionContext): Likewise.
gcc/rust/resolve/rust-name-resolution-context.cc
gcc/rust/resolve/rust-name-resolution-context.h