diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-01-11 15:29:22 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-01-30 13:47:35 +0100 |
commit | 3630e0e2bf0fced043efb23f077adfe9b576dcad (patch) | |
tree | 5a00a51378b46a951775a4b1f9aaed22c95e3582 /gcc/rust/backend/rust-compile-pattern.cc | |
parent | d12a38da686e39952e083821f1d77116f3ed91af (diff) | |
download | gcc-3630e0e2bf0fced043efb23f077adfe9b576dcad.zip gcc-3630e0e2bf0fced043efb23f077adfe9b576dcad.tar.gz gcc-3630e0e2bf0fced043efb23f077adfe9b576dcad.tar.bz2 |
macro: Allow builtin `MacroInvocation`s within the AST
gcc/rust/ChangeLog:
* ast/rust-macro.h (enum class): Add `BuiltinMacro` enum class.
* expand/rust-attribute-visitor.cc (AttrVisitor::visit): Mention
switching on `macro.kind` once builtin macro invocations are properly
handled.
* parse/rust-parse-impl.h (Parser::parse_macro_invocation): Switch to new MacroInvocation
API.
(Parser::parse_type): Likewise.
(Parser::parse_type_no_bounds): Likewise.
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.cc')
0 files changed, 0 insertions, 0 deletions