aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-09-15 11:08:13 +0200
committerPhilip Herron <philip.herron@embecosm.com>2023-10-31 11:39:08 +0000
commit16c0f9c7fba577cb1c1c64d53468baeed81769a0 (patch)
tree231a8003804a0ebd28b012b945d71109ee4a1e1a /gcc/rust/hir/rust-hir-dump.cc
parentc5dc4b0a5f4773c05ca4e8845df9b5cdeb978fc6 (diff)
downloadgcc-16c0f9c7fba577cb1c1c64d53468baeed81769a0.zip
gcc-16c0f9c7fba577cb1c1c64d53468baeed81769a0.tar.gz
gcc-16c0f9c7fba577cb1c1c64d53468baeed81769a0.tar.bz2
Add utility function to build proc macro types
Add some utility function to build proc macro entrypoint related types. Those functions will help generate all required metadata in order for proc macros to be expanded properly. gcc/rust/ChangeLog: * backend/rust-compile.cc (build_attribute_array): Add a function to build the attribute array type. (build_derive_proc_macro): Add a function to build the derive proc macro type. (build_bang_proc_macro): Add a function to build the bang proc macro type. (build_attribute_proc_macro): Add a function to build the attribute proc macro type. (build_proc_macro): Add a function to build the proc macro tagged union type. (build_proc_macro_buffer): Add a function to build the proc macro buffer type. (build_entrypoint): Add a function to build the proc macro entrypoint type. * backend/rust-compile.h: Add function prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions