aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-pattern.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-01-30 12:44:25 +0000
committerGitHub <noreply@github.com>2023-01-30 12:44:25 +0000
commitd7c321da9f8fdee4527285c782db57c7c4d520e4 (patch)
treeba6531ab7ceea6caca1c74cf89cb219a9ce40c84 /gcc/rust/backend/rust-compile-pattern.h
parent0ae13efb5a6383a3e7e22ceb064fa358038bd36f (diff)
parent3630e0e2bf0fced043efb23f077adfe9b576dcad (diff)
downloadgcc-d7c321da9f8fdee4527285c782db57c7c4d520e4.zip
gcc-d7c321da9f8fdee4527285c782db57c7c4d520e4.tar.gz
gcc-d7c321da9f8fdee4527285c782db57c7c4d520e4.tar.bz2
Merge #1735
1735: macro: Allow builtin `MacroInvocation`s within the AST r=CohenArthur a=CohenArthur 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): Switch to new MacroInvocation API (Parser::parse_type_no_bounds): Switch to new MacroInvocation API This will be necessary for proper handling of builtin macros with the new `EarlyNameResolver` class and associated fixed-point algorithm Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.h')
0 files changed, 0 insertions, 0 deletions