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-04-06 10:47:18 +0200
commit51b607c22278fd9c17fc174accd89a22c41fcf2e (patch)
treede795012f154458776324a1596cc23529c3bb388 /gcc/rust/backend/rust-compile-pattern.h
parent8e7e682a9f86ab7c9906f2dc287da8486e22db10 (diff)
downloadgcc-51b607c22278fd9c17fc174accd89a22c41fcf2e.zip
gcc-51b607c22278fd9c17fc174accd89a22c41fcf2e.tar.gz
gcc-51b607c22278fd9c17fc174accd89a22c41fcf2e.tar.bz2
gccrs: 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