diff options
author | Antonio Gomes <antoniospg100@gmail.com> | 2024-07-18 22:50:54 -0300 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-07-25 08:52:31 +0000 |
commit | 1eb42b0e3444423f458d684d14a0698053ecea53 (patch) | |
tree | e8c927fa5f34870d6195b8b1f9bb324effae4811 /gcc/rust/hir/rust-hir-dump.cc | |
parent | 8c357fd0072a29b24e10a8a1fe287f86f8c9b553 (diff) | |
download | gcc-1eb42b0e3444423f458d684d14a0698053ecea53.zip gcc-1eb42b0e3444423f458d684d14a0698053ecea53.tar.gz gcc-1eb42b0e3444423f458d684d14a0698053ecea53.tar.bz2 |
Properly striping struct fields when using attrs
gcc/rust/ChangeLog:
* expand/rust-cfg-strip.cc:
Strip struct expr fields and strip fields in struct definition
* expand/rust-cfg-strip.h:
Signatures for new function maybe_strip_struct_expr_fields
gcc/testsuite/ChangeLog:
* rust/compile/macro-issue2983_2984.rs:
Add test to check for correct stripped fields
Signed-off-by: Antonio Gomes <antoniospg100@gmail.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions