public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1735
@ 2023-01-30 17:24 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2023-01-30 17:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d7c321da9f8fdee4527285c782db57c7c4d520e4

commit d7c321da9f8fdee4527285c782db57c7c4d520e4
Merge: 0ae13efb5a6 3630e0e2bf0
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Mon Jan 30 12:44:25 2023 +0000

    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>

Diff:

 gcc/rust/ast/rust-macro.h                 | 110 +++++++++++++++++++++++++-----
 gcc/rust/expand/rust-attribute-visitor.cc |   2 +
 gcc/rust/parse/rust-parse-impl.h          |  70 +++++++++----------
 3 files changed, 126 insertions(+), 56 deletions(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-30 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 17:24 [gcc/devel/rust/master] Merge #1735 Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).