diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-31 18:26:40 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:04:33 +0100 |
commit | 7c265ce70b5104b6c6ea2ec0efe3b0f47ea0bbb8 (patch) | |
tree | e7554c96d577e533042e607b009df4cbb68f8b48 /gcc/ggc.h | |
parent | 47886454483eefc4dc2f0e82dd3e19173a7bf357 (diff) | |
download | gcc-7c265ce70b5104b6c6ea2ec0efe3b0f47ea0bbb8.zip gcc-7c265ce70b5104b6c6ea2ec0efe3b0f47ea0bbb8.tar.gz gcc-7c265ce70b5104b6c6ea2ec0efe3b0f47ea0bbb8.tar.bz2 |
gccrs: 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/ggc.h')
0 files changed, 0 insertions, 0 deletions