diff options
author | Philip Herron <philip.herron@embecosm.com> | 2020-12-10 17:44:33 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2020-12-17 17:23:46 +0000 |
commit | 3514168b990fd67225c59e84c7fffec075788905 (patch) | |
tree | 937dc0fbfe0a754e502f1947a01fdb4e20ad5698 /gcc/rust/ast/rust-path.h | |
parent | 29fb9e4d937f2d98734330f46f539514e2518cc3 (diff) | |
download | gcc-3514168b990fd67225c59e84c7fffec075788905.zip gcc-3514168b990fd67225c59e84c7fffec075788905.tar.gz gcc-3514168b990fd67225c59e84c7fffec075788905.tar.bz2 |
Introduce HIR Mapping
This is the start of a bigger refactor of the compiler to follow the
rustc internals. This introduces a mapping system for.
- HirId which maps to any Hir Node within the current crate
- LocalDefId any toplevel Hir Node HIR::Item within current crate
- NodeId maps any AST node akin to HirId such that they can map back
- DefId Cratea and localDefId combination
Diffstat (limited to 'gcc/rust/ast/rust-path.h')
0 files changed, 0 insertions, 0 deletions