aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-hir-map.h
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2021-02-11 12:15:39 +0800
committerSimplyTheOther <simplytheother@gmail.com>2021-02-11 12:15:39 +0800
commit7d4ed9d38c7a636408a262f70aa69d2a34e2169d (patch)
tree915c10b77703d0ef8d074775ddea95eb0f728cab /gcc/rust/util/rust-hir-map.h
parentcfd1d805ff5921480d9badd7d215e1b1deb33aca (diff)
parent0c7d0135663b6f0d94e0ffd931366ba2b32f8b2c (diff)
downloadgcc-7d4ed9d38c7a636408a262f70aa69d2a34e2169d.zip
gcc-7d4ed9d38c7a636408a262f70aa69d2a34e2169d.tar.gz
gcc-7d4ed9d38c7a636408a262f70aa69d2a34e2169d.tar.bz2
Merge branch 'master' of https://github.com/redbrain/gccrs
Diffstat (limited to 'gcc/rust/util/rust-hir-map.h')
-rw-r--r--gcc/rust/util/rust-hir-map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/util/rust-hir-map.h b/gcc/rust/util/rust-hir-map.h
index 0d625f6..b7dbd45 100644
--- a/gcc/rust/util/rust-hir-map.h
+++ b/gcc/rust/util/rust-hir-map.h
@@ -136,6 +136,7 @@ public:
void walk_local_defids_for_crate (CrateNum crateNum,
std::function<bool (HIR::Item *)> cb);
+ void insert_node_to_hir (CrateNum crate, NodeId id, HirId ref);
bool lookup_node_to_hir (CrateNum crate, NodeId id, HirId *ref);
void insert_location (CrateNum crate, HirId id, Location locus);