aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-expr.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-16 18:17:39 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:55:58 +0100
commit4d5f20fdbf095663ce829b42a22819093f4efc8e (patch)
tree11c801319e99e9636e83241550cec5650c38e239 /gcc/rust/hir/tree/rust-hir-expr.h
parent37451ad09f7edc081700909208f90b9eea1eb592 (diff)
downloadgcc-4d5f20fdbf095663ce829b42a22819093f4efc8e.zip
gcc-4d5f20fdbf095663ce829b42a22819093f4efc8e.tar.gz
gcc-4d5f20fdbf095663ce829b42a22819093f4efc8e.tar.bz2
gccrs: resolve: Add extern crate proc macro collection
Create a mapping for procedural macros with their crate num. gcc/rust/ChangeLog: * metadata/rust-extern-crate.h: Add proc macro getter. * rust-session-manager.cc (Session::load_extern_crate): Collect mappings and create mappings. * util/rust-hir-map.cc: Add insertion and lookup functions for every mapping. * util/rust-hir-map.h: Add function prototypes. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions