aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-04 09:38:43 +0000
committerGitHub <noreply@github.com>2022-02-04 09:38:43 +0000
commit83bfbf0746c87b641754697a3c8e9f7a7cb08aa9 (patch)
tree7e33205e75ef19e8e3eefef0a1eacd678a7ce35f /gcc/rust/rust-lang.cc
parent7eef766dc5a8abda2ca2cf8d535cdf160f40b50c (diff)
parent9f36d99b4067df98608dc3535e6c786d1897837e (diff)
downloadgcc-83bfbf0746c87b641754697a3c8e9f7a7cb08aa9.zip
gcc-83bfbf0746c87b641754697a3c8e9f7a7cb08aa9.tar.gz
gcc-83bfbf0746c87b641754697a3c8e9f7a7cb08aa9.tar.bz2
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>
Diffstat (limited to 'gcc/rust/rust-lang.cc')
0 files changed, 0 insertions, 0 deletions