aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-forever-stack.hxx
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-09-14 17:38:06 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 16:52:25 +0200
commit53c74beb3a15a477f4fef770fe6abccbdb124fb7 (patch)
treebfea8932ad69e212388afcce3d430df3c48bb6d8 /gcc/rust/resolve/rust-forever-stack.hxx
parent786bc62f957e373d40a8c11fa4e607383ab2e2f1 (diff)
downloadgcc-53c74beb3a15a477f4fef770fe6abccbdb124fb7.zip
gcc-53c74beb3a15a477f4fef770fe6abccbdb124fb7.tar.gz
gcc-53c74beb3a15a477f4fef770fe6abccbdb124fb7.tar.bz2
gccrs: nr2.0: Start using newtype pattern for Usage and Declaration
gcc/rust/ChangeLog: * resolve/rust-name-resolution-context.cc (NameResolutionContext::map_usage): Use newtype pattern. (NameResolutionContext::lookup): Likewise. * resolve/rust-name-resolution-context.h (class Usage): New class. (class Definition): Likewise. * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Create instances of Usage and Definition.
Diffstat (limited to 'gcc/rust/resolve/rust-forever-stack.hxx')
0 files changed, 0 insertions, 0 deletions