aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-02-03 15:37:06 +0000
committerPhilip Herron <philip.herron@embecosm.com>2022-02-03 15:56:56 +0000
commit9f36d99b4067df98608dc3535e6c786d1897837e (patch)
treeb08302c6a3890790c17cb6214fd20f93c66664c6 /gcc/rust/rust-lang.cc
parent3e6f9c2150a3b27a70f5adaeb2b9cd44943c898f (diff)
downloadgcc-9f36d99b4067df98608dc3535e6c786d1897837e.zip
gcc-9f36d99b4067df98608dc3535e6c786d1897837e.tar.gz
gcc-9f36d99b4067df98608dc3535e6c786d1897837e.tar.bz2
Support cfg expansions predicates
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
Diffstat (limited to 'gcc/rust/rust-lang.cc')
0 files changed, 0 insertions, 0 deletions