diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-16 18:17:39 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-07-21 09:06:09 +0000 |
commit | 01c316bc2b661ee7db45c8246727a96a454bfcc1 (patch) | |
tree | 1a39383234a09e791d9fdf31eada323d55c4ec68 /gcc/cppbuiltin.h | |
parent | 5539f28018b492b68db4c1b6af0c4fe3acbfb19f (diff) | |
download | gcc-01c316bc2b661ee7db45c8246727a96a454bfcc1.zip gcc-01c316bc2b661ee7db45c8246727a96a454bfcc1.tar.gz gcc-01c316bc2b661ee7db45c8246727a96a454bfcc1.tar.bz2 |
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/cppbuiltin.h')
0 files changed, 0 insertions, 0 deletions