public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1069
@ 2022-06-08 12:25 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:25 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f9c1a14dab4c47c774f9c7661afc4bb2176eb9bb
commit f9c1a14dab4c47c774f9c7661afc4bb2176eb9bb
Merge: bd1f435b231 6bf428379d1
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Thu Mar 31 08:28:42 2022 +0000
Merge #1069
1069: Handle macro invocations in type contexts r=CohenArthur a=CohenArthur
Closes #1067
This highlighted two issues where parsing types is not entirely correct, which I'll raise. The code necessary to handle macro invocations in these two places should already be implemented.
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/ast/rust-ast.h | 59 +++++--
gcc/rust/expand/rust-attribute-visitor.cc | 219 +++++++++++++++++++++++++
gcc/rust/expand/rust-macro-expand.cc | 16 ++
gcc/rust/expand/rust-macro-expand.h | 1 +
gcc/testsuite/rust/compile/macro40.rs | 48 ++++++
gcc/testsuite/rust/execute/torture/macros28.rs | 13 ++
6 files changed, 344 insertions(+), 12 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:25 [gcc/devel/rust/master] Merge #1069 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).