diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-21 13:01:43 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-02-21 12:36:51 +0100 |
commit | 01af669357c4e7e974e85177e5d1763012bf113a (patch) | |
tree | b020f4be3f6cf9e212f73a93f178226bda20b126 /gcc/rust/resolve/rust-ast-resolve-pattern.cc | |
parent | 0ef795c3278e35cdd274f22bb0ab9783a983af57 (diff) | |
download | gcc-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