diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-21 13:44:20 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-12-13 14:00:04 +0100 |
commit | 8ad1d56d68a998fdc662a944f461e7bcb125920e (patch) | |
tree | 1b63caef7fb0d557c9aa64c9783202f26646e5c5 /gcc/rust/backend | |
parent | 85a8fe00f805e7889b4e67a98ae1d435c042166b (diff) | |
download | gcc-8ad1d56d68a998fdc662a944f461e7bcb125920e.zip gcc-8ad1d56d68a998fdc662a944f461e7bcb125920e.tar.gz gcc-8ad1d56d68a998fdc662a944f461e7bcb125920e.tar.bz2 |
gccrs: Add declarations for Rust HIR
This patch contains the declarations needed for our second intermediate
representation, which we will refer to as an HIR.
This gives the front-end a chance to desugar much of the AST, such as:
- Removing distinction between functions and methods
- Removing Macros
- Removing IdentifierExprs
- Removing duplicate attribute structures
gcc/rust/
* hir/tree/rust-hir-expr.h: New.
* hir/tree/rust-hir-item.h: New.
* hir/tree/rust-hir-path.h: New.
* hir/tree/rust-hir-pattern.h: New.
* hir/tree/rust-hir-stmt.h: New.
* hir/tree/rust-hir-type.h: New.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions