aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-17 16:00:30 +0200
committerPhilip Herron <philip.herron@embecosm.com>2023-10-31 11:39:08 +0000
commit4ac19a050193e0091a9556997780a0affb8a9621 (patch)
treeed566894b84752992aeb4c5da85615980549cf71 /gcc/rust/hir/rust-hir-dump.cc
parent3c6aca6cc174ac2881fb1783e0fda90c2b89bfc8 (diff)
downloadgcc-4ac19a050193e0091a9556997780a0affb8a9621.zip
gcc-4ac19a050193e0091a9556997780a0affb8a9621.tar.gz
gcc-4ac19a050193e0091a9556997780a0affb8a9621.tar.bz2
Move proc macro builders to their own file
The code to build the required procedural macro symbols is rather long and could be placed in it's own file. gcc/rust/ChangeLog: * Make-lang.in: Add gcc/rust/backend/rust-compile-proc-macro.cc to the list of file to compile. * backend/rust-compile.cc (attribute_array): Move to rust-compile-proc-macro.cc (derive_proc_macro): Likewise. (bang_proc_macro): Likewise. (attribute_proc_macro): Likewise. (proc_macro_payload): Likewise. (proc_macro): Likewise. (proc_macro_buffer): Likewise. (entrypoint): Likewise. (proc_macro_array): Likewise. (CompileCrate::add_proc_macro_symbols): Likewise. * backend/rust-compile-proc-macro.cc: New file. 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