aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-08-29 16:41:55 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-09-06 11:50:30 +0000
commit9f7a9dfb26b84a5f6336e8e2e0c4a48e2de8fe80 (patch)
treef863e18e7e1ee994dae1b644d6650a5956a2920e /gcc/rust/hir
parent32fea09d30f2db75727be2e7dbd3b636cef5284c (diff)
downloadgcc-9f7a9dfb26b84a5f6336e8e2e0c4a48e2de8fe80.zip
gcc-9f7a9dfb26b84a5f6336e8e2e0c4a48e2de8fe80.tar.gz
gcc-9f7a9dfb26b84a5f6336e8e2e0c4a48e2de8fe80.tar.bz2
Change proc macro mapping definition insertion
Since the node id already is contained into the proc macro we may omit it from the function arguments. gcc/rust/ChangeLog: * util/rust-hir-map.cc (Mappings::insert_derive_proc_macro_def): Change the function body to fetch the node id from the macro parameter. (Mappings::insert_bang_proc_macro_def): Likewise. (Mappings::insert_attribute_proc_macro_def): Likewise. * util/rust-hir-map.h: Update the function's prototype by removing the node id from the list of arguments. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions