aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-31 18:26:40 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-09-05 14:05:36 +0000
commit76263ca000ac6d95c92074d5e4a10b3220db6ff1 (patch)
treeed1d4f1d4d04794b82cb5bc44914718e8addadc1 /gcc/rust/hir
parent32e861f10045b1c6a4e9a4cafc7f27d628af38ab (diff)
downloadgcc-76263ca000ac6d95c92074d5e4a10b3220db6ff1.zip
gcc-76263ca000ac6d95c92074d5e4a10b3220db6ff1.tar.gz
gcc-76263ca000ac6d95c92074d5e4a10b3220db6ff1.tar.bz2
Add proc macro ast representation
When resolving proc macros it is convenient to store every macro directly in the extern crate. These class in the ast module provide a better abstraction over the raw ProcMacro::{CustomDerive, Bang, Attribute} structures provided by the proc_macro library. gcc/rust/ChangeLog: * ast/rust-ast.h (class BangProcMacro): Add new proc macro abstraction. (class AttributeProcMacro): Likewise. (class CustomDeriveProcMacro): Likewise. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions