aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-pattern.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-01-11 15:29:22 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-01-30 13:47:35 +0100
commit3630e0e2bf0fced043efb23f077adfe9b576dcad (patch)
tree5a00a51378b46a951775a4b1f9aaed22c95e3582 /gcc/rust/backend/rust-compile-pattern.h
parentd12a38da686e39952e083821f1d77116f3ed91af (diff)
downloadgcc-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.h')
0 files changed, 0 insertions, 0 deletions