public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #907
@ 2022-06-08 12:03 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:03 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:83bfbf0746c87b641754697a3c8e9f7a7cb08aa9

commit 83bfbf0746c87b641754697a3c8e9f7a7cb08aa9
Merge: 7eef766dc5a 9f36d99b406
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Fri Feb 4 09:38:43 2022 +0000

    Merge #907
    
    907: Support cfg expansions predicates r=philberty a=philberty
    
    Config expansion can be not, any, or all predicate to enforce the config
    expansion logic.
    
    This patch refactors the MacroParser to be named AttributeParser as it is
    only used to parse attributes into MetaItems that we can work with and
    do expansion logic upon. This handles the case of parsing the
    inner-meta-item of not(A) to parse it into MetaListNameValueStr and tidies
    up some of the code in the area.
    
    Fixes #901
    
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/ast/rust-ast-full-test.cc         | 100 +++++++++++++----------------
 gcc/rust/ast/rust-ast.h                    |   2 +-
 gcc/rust/ast/rust-macro.h                  |  10 +--
 gcc/testsuite/rust/compile/cfg2.rs         |  13 ++++
 gcc/testsuite/rust/compile/cfg3.rs         |  11 ++++
 gcc/testsuite/rust/compile/cfg4.rs         |  11 ++++
 gcc/testsuite/rust/execute/torture/cfg4.rs |  38 +++++++++++
 7 files changed, 124 insertions(+), 61 deletions(-)


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

only message in thread, other threads:[~2022-06-08 12:03 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:03 [gcc/devel/rust/master] Merge #907 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).