public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1421
@ 2022-07-29 14:45 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-07-29 14:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:2d824b796cde571d270f4c20af8183dbd93614d5
commit 2d824b796cde571d270f4c20af8183dbd93614d5
Merge: 7f1685d7f60 5e63ca064ab
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Fri Jul 29 12:32:30 2022 +0000
Merge #1421
1421: expand: further improves the handling of recursive macros r=CohenArthur a=liushuyu
- expand: further improves the handling of recursive macros.
Now all the attribute visitor that expands the macro fragment will recursively expand the macro using the unified expanding function `expand_macro_fragment_recursive` instead of expanding the fragment only once.
Fixes #1403
Co-authored-by: liushuyu <liushuyu011@gmail.com>
Diff:
gcc/rust/expand/rust-attribute-visitor.cc | 27 +++++---------
gcc/rust/expand/rust-attribute-visitor.h | 42 ++++++++++++++++++++--
.../rust/compile/torture/macro-issue1403.rs | 23 ++++++++++++
3 files changed, 71 insertions(+), 21 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-29 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29 14:45 [gcc/devel/rust/master] Merge #1421 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).