diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-20 15:28:19 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-06-12 09:11:18 +0000 |
commit | 8de769bfc570c2fe6392f54092aaf17b90e22813 (patch) | |
tree | 56fdd89fca8af98340ec1d66466131969c1a9519 /gcc/file-prefix-map.h | |
parent | a45362e582e24f7997edc25dde660297bde710f5 (diff) | |
download | gcc-8de769bfc570c2fe6392f54092aaf17b90e22813.zip gcc-8de769bfc570c2fe6392f54092aaf17b90e22813.tar.gz gcc-8de769bfc570c2fe6392f54092aaf17b90e22813.tar.bz2 |
Add outer attributes to struct expr fields
Struct fields can have outer attributes on their field for various
purpose, this behavior should be reflected upon struct expr fields.
gcc/rust/ChangeLog:
* ast/rust-ast-collector.cc (TokenCollector::visit): Output field
attributes.
* ast/rust-expr.h (class StructExprField): Add outer attributes member.
* parse/rust-parse-impl.h (Parser::parse_struct_expr_field): Parse
outer attributes and store them in the appropriate AST node.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/file-prefix-map.h')
0 files changed, 0 insertions, 0 deletions