aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-pattern.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-10-21 13:01:43 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-02-21 12:36:51 +0100
commit01af669357c4e7e974e85177e5d1763012bf113a (patch)
treeb020f4be3f6cf9e212f73a93f178226bda20b126 /gcc/rust/resolve/rust-ast-resolve-pattern.cc
parent0ef795c3278e35cdd274f22bb0ab9783a983af57 (diff)
downloadgcc-01af669357c4e7e974e85177e5d1763012bf113a.zip
gcc-01af669357c4e7e974e85177e5d1763012bf113a.tar.gz
gcc-01af669357c4e7e974e85177e5d1763012bf113a.tar.bz2
gccrs: Get rid of make builtin macro
This macro is a mess and a helper method is much better for this case. gcc/rust/ChangeLog: * resolve/rust-name-resolver.cc (MKBUILTIN_TYPE): Remove macro. (Rib::Rib): Remove `mappings` field. (Resolver::generate_builtins): Use `setup_builtin` instead of macro. (Resolver::setup_builtin): New function. * resolve/rust-name-resolver.h: Declare `setup_builtin`, add FIXME comment.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-pattern.cc')
0 files changed, 0 insertions, 0 deletions